If in any judicial proceeding, a party alleges that such statements are necessary to the determination of any issue before the court and written consent to disclosure has not been given, the party may ask the court to consider the relevance and admissibility of the statements. In such a case, the court shall hold a hearing in camera on the relevance of the statements. If the court finds them relevant and admissible to the issue, the court shall order the statements to be disclosed.
735 ILCS 5/8-802.2