30. Except for the purposes of a prosecution under this Act, a person referred to in section 25 may not be compelled to reveal what was disclosed to that person or what that person learned in the exercise of the functions described in paragraphs 1 and 5 of section 5 or to produce a document prepared or obtained in the exercise of those functions before a court or before a body or a person exercising an adjudicative function.
Notwithstanding section 9 of the Act respecting Access to documents held by public bodies and the Protection of personal information (chapter A‐2.1), no person may have access to such a document. This section also applies to any person who is in possession of a copy of any document used in the collection of information for the purposes of this Act.