If, at any stage during the course of a trial of a case or proceeding in relation to an offence against, or any conduct contrary to decency or morality, a child is summoned as a witness, any Court trying the case or holding the proceeding may direct such persons as it thinks fit, not being parties to the case or proceeding, their legal advisers ...