Criminal Code — C-46 515
ubject-matter is alleged to be, a firearm, a cross-bow, a prohibited weapon, a restricted weapon, a prohibited device, a firearm part, any ammunition or prohibited ammunition or an explosive substance, and that is alleged to have been committed while the accused was under a prohibition order within the meaning of subsection 84(1); (b) with an indictable offence, other than an offence listed in section 469 and is not ordinarily resident in Canada, (b.1) with an offence in the commission of which violence was allegedly used, threatened or attempted against their intimate partner, and the accused has been previously convicted or discharged under section 730 of an offence in the commission of which violence was used, threatened or attempted against any intimate partner of theirs; (b.2) with an offence in the commission of which violence was allegedly used, threatened or attempted against a person with the use of a weapon, and the accused has been previously convicted, within five years of the day on which they were charged for that offence, of another offence in the commission of which violence was also used, threatened or attempted against any person with the use of a weapon, if the maximum term of imprisonment for each of those offences is 10 years or more; (c) with an offence under any of subsections 145(2) to (5) that is alleged to have been committed while they were at large after being released in respect of another offence under the provisions of this Part or section 679, 680 or 816; or (d) with having committed an offence punishable by imprisonment for life under any of sections 5 to 7 of the Controlled Drugs and Substances Act or the offence of conspiring to commit such an offence. Reasons (6.1) If the justice orders that an accused to whom subsection (6) applies be released, the justice shall include in the record a statement of the justice’s reasons for making the order. Release order (7) If an accused to whom subsection (6) applies shows cause why their detention in custody is not justified, the justice shall make a release order under this section. If the accused was already at large on a release order, the new release order may include any additional conditions described in subsections (4) to (4.2) that the justice considers desirable. (8) [Repealed, 2019, c. 25, s. 225] Sufficiency of record (9) For the purposes of subsections (5) and (6), it is sufficient if a record is made of the reasons in accordance with the provisions of Part XVIII relating to the taking of evidence at preliminary inquiries. Written reasons (9.1) Despite subsection (9), if the justice orders that the accused be detained in custody primarily because of a previous conviction of the accused, the justice shall state that reason, in writing, in the record. Justification for detention in custody (10) For the purposes of this section, the detention of an accused in custody is justified only on one or more of the following grounds: (a) where the detention is necessary to ensure his or her attendance in court in order to be dealt with according to law; (b) where 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 substantial likelihood that the accused will, if released from custody, commit a criminal offence or interfere with the administration of justice; and (c) if the detention is necessary to maintain confidence in the administration of justice, having regard to all the circumstances, including (i) the apparent strength of the prosecution’s case, (ii) the gravity of the offence, (iii) the circumstances surrounding the commission of the offence, including whether a firearm was used, and (iv) the fact that the accused is liable, on conviction, for a potentially lengthy term of imprisonment or, in the case of an offence that involves, or whose subject-matter is, a firearm, a minimum pun