Section 13. Any court may exclude minors as spectators from the court room during the trial of any cause, civil or criminal, if their presence is not necessary as witnesses or parties.