R.S., c. C-46 Criminal Code 1 Section 493.1 of the  Criminal Code  is replaced by the following: Principle of restraint 493.1 (1) Subject to subsection (2), in  making a decision under this Part, a peace officer, justice or judge shall give primary consideration to the release of the accused at the earliest reasonable opportunity and on the least onerous conditions that are appropriate in the circumstances, including conditions that are reasonably practicable for the accused to comply with, while taking into account the grounds referred to in subsection 498(1.1) or 515(10), as the case may be. Exception (2) Subsection (1) does not apply in the circumstances set out in subsection 515(10.2). 2 Section 515 of the Act is amended by adding the following after subsection (10): Detention in custody not justified (10.1) Despite subsection (10), in the circumstances set out in subsection (10.2), the detention of an accused in custody is justified unless the accused establishes, to the satisfaction of the justice, that (a) the detention is not necessary to ensure the accused’s attendance in court in order to be dealt with according to law; (b) there is minimal likelihood that the detention is necessary for the protection or safety of the public, including any victim of or witness to the offence, or any person under the age of 18 years, having regard to all the circumstances including any likelihood that the accused will, if released from custody, commit a criminal offence or interfere with the administration of justice; and (c) there is minimal likelihood that the detention is necessary to maintain confidence in the administration of justice, having regard to all the circumstances, including those set out in subparagraphs (10)(c)(i)  to (iv). Exceptional circumstances (10.2) The circumstances for the purposes of subsection (10.1) are that (a) the accused is charged with an offence under section 85, 87, 95, 96, 98, 98.1, 99, 100, 102, 103, 108, 244, 244.1 or 244.2 or paragraph 344(1)(a); and (b) the offence is alleged to have been committed while the accused was subject to (i) an order made under section 109, or (ii) an order made under section 110 prohibiting the person from possessing any firearm. 3 Subsection 524(4) of the Act is replaced by the following: Detention (4) If the judge or justice cancels the summons, appearance notice, undertaking or release order, the judge or justice shall order that the accused be detained in custody unless the accused, having been given a reasonable opportunity to do so, shows cause why their detention in custody is not justified under subsection 515(10)  or (10.1), as the case may be . 4 Subsection 525(5) of the Act is replaced by the following: Release order (5) If, following the hearing, the judge is not satisfied that the continued detention of the accused in custody is justified within the meaning of subsection 515(10)  or (10.1), as the case may be , the judge shall make a release order referred to in section 515. 5 Form 8 of Part XXVIII of the Act is amended by replacing the references at the end of paragraph (d) with the following: [515(10)  or (10.1) , 523.1(3), 524(3) and (4)] 6 Form 8 of Part XXVIII of the Act is amended by replacing the references at the end of paragraph (e) with the following: [515(10)  or (10.1) , 524(3) and (4)]