Except as otherwise provided in this code or by court rule, the court may, when it considers it necessary in the interests of justice and the persons involved, direct the trial of any issue of fact joined in a proceeding under this code to be private, and may exclude all persons except the officers of the court, the parties, their witnesses, and counsel.
(Enacted by Stats. 1992, Ch. 162, Sec. 10. Operative January 1, 1994.)