Except where explicitly authorized by this Code or by the Rules of the Supreme Court of Illinois, no court may require or order a witness who is the victim of an alleged sex offense to submit to or undergo either a psychiatric or psychological examination.