517. [1] Where the prosecutor or the accused intends to show cause under section 515, he shall so state to the justice and the justice may, and shall on application by the accused, before or at any time during the course of the proceedings under that section, make an order directing that the evidence taken, the information given or the representations made and the reasons, if any, given or to be given by the justice shall not be published in any newspaper or broadcast before such time as
[2] Every one who fails without lawful excuse, the proof of which lies on him, to comply with an order made under subsection [1] is guilty of an offence punishable on summary conviction.
[3] In this section, "newspaper" has the same meaning as in section 297. [R.S., c.2 [2nd Supp.], s.5; 1974-75-76, c.93, s.48; R.S.C. 1985, c.27 [1st Supp.], s.101[2][a].]