Criminal Code — C-46 187
Manner in which application to be kept secret 187 (1) All documents relating to an application made pursuant to any provision of this Part are confidential and, subject to subsection (1.1), shall be placed in a packet and sealed by the judge to whom the application is made immediately on determination of the application, and that packet shall be kept in the custody of the court in a place to which the public has no access or in such other place as the judge may authorize and shall not be dealt with except in accordance with subsections (1.2) to (1.5). Exception (1.1) An authorization given under this Part need not be placed in the packet except if, under subsection 184.3(8), the original authorization is in the hands of the judge, in which case that judge must place it in the packet and the copy remains with the applicant. Opening for further applications (1.2) The sealed packet may be opened and its contents removed for the purpose of dealing with an application for a further authorization or with an application for renewal of an authorization. Opening on order of judge (1.3) A provincial court judge, a judge of a superior court of criminal jurisdiction or a judge as defined in section 552 may order that the sealed packet be opened and its contents removed for the purpose of copying and examining the documents contained in the packet. Opening on order of trial judge (1.4) A judge or provincial court judge before whom a trial is to be held and who has jurisdiction in the province in which an authorization was given may order that the sealed packet be opened and its contents removed for the purpose of copying and examining the documents contained in the packet if (a) any matter relevant to the authorization or any evidence obtained pursuant to the authorization is in issue in the trial; and (b) the accused applies for such an order for the purpose of consulting the documents to prepare for trial. Order for destruction of documents (1.5) Where a sealed packet is opened, its contents shall not be destroyed except pursuant to an order of a judge of the same court as the judge who gave the authorization. Order of judge (2) An order under subsection (1.2), (1.3), (1.4) or (1.5) made with respect to documents relating to an application made pursuant to section 185 or subsection 186(6) or 196(2) may only be made after the Attorney General or the Minister of Public Safety and Emergency Preparedness by whom or on whose authority the application for the authorization to which the order relates was made has been given an opportunity to be heard. Order of judge (3) An order under subsection (1.2), (1.3), (1.4) or (1.5) made with respect to documents relating to an application made under subsection 184.2(2) may only be made after the Attorney General has been given an opportunity to be heard. Editing of copies (4) Where a prosecution has been commenced and an accused applies for an order for the copying and examination of documents pursuant to subsection (1.3) or (1.4), the judge shall not, notwithstanding those subsections, provide any copy of any document to the accused until the prosecutor has deleted any part of the copy of the document that the prosecutor believes would be prejudicial to the public interest, including any part that the prosecutor believes could (a) compromise the identity of any confidential informant; (b) compromise the nature and extent of ongoing investigations; (c) endanger persons engaged in particular intelligence-gathering techniques and thereby prejudice future investigations in which similar techniques would be used; or (d) prejudice the interests of innocent persons. Accused to be provided with copies (5) After the prosecutor has deleted the parts of the copy of the document to be given to the accused under subsection (4), the accused shall be provided with an edited copy of the document. Original documents to be returned (6) After the accused has received an edited copy of a document, the prosecutor shall ke