During the trial in any court of any case in which the evidence is vulgar and obscene or relates to improper sexual acts and tends to debauch the morals of the young, the presiding judge shall have the right, in his discretion and on his own motion, or on motion of the plaintiff or the defendant or their attorneys, to hear and try the case after clearing the courtroom of all or any portion of the audience.
OCGA § 9-10-3