150 (1) Where a defendant is not released from custody under section 149, the officer in charge shall, as soon as is practicable but in any event within twenty-four hours, bring the defendant before a justice and the justice shall, unless a plea of guilty is taken, order that the defendant be released upon giving his or her undertaking to appear unless the prosecutor having been given an opportunity to do so shows cause why the detention of the defendant is justified to ensure his or her appearance in court or why an order under subsection (2) is justified for the same purpose.  R.S.O. 1990, c. P.33, s. 150 (1); 1993, c. 27, Sched; 2017, c. 34, Sched. 35, s. 25. Order for conditional release (2) Subject to subsection (1), the justice may order the release of the defendant, (a)  upon the defendant entering into a recognizance to appear with such conditions as are appropriate to ensure his or her appearance in court; (b)  where the offence is one punishable by imprisonment for twelve months or more, conditional upon the defendant entering into a recognizance before a justice with sureties in such amount and with such conditions, if any, as are appropriate to ensure his or her appearance in court or, with the consent of the prosecutor, upon the defendant depositing with the justice such sum of money or other valuable security as the order directs in an amount not exceeding, (i)  where the proceeding is commenced by certificate under Part I or II, the amount of the set fine for the offence or, if none, $300, or (ii)  where the proceeding is commenced by information under Part III, $1,000; or (c)  if the defendant is not ordinarily resident in Ontario, upon the defendant entering into a recognizance before a justice, with or without sureties, in such amount and with such conditions, if any, as are appropriate to ensure his or her appearance in court, and depositing with the justice such sum of money or other valuable security as the order directs in an amount not exceeding, (i)  where the proceeding is commenced by certificate under Part I or II, the amount of the set fine for the offence or, if none, $300, or (ii)  where the proceeding is commenced by information under Part III, $1,000. Idem (3) The justice shall not make an order under clause (2) (b) or (c) unless the prosecutor shows cause why an order under the immediately preceding clause should not be made. Order for detention (4) Where the prosecutor shows cause why the detention of the defendant in custody is justified to ensure his or her appearance in court, the justice shall order the defendant to be detained in custody until he or she is dealt with according to law. Reasons (5) The justice shall include in the record a statement of the reasons for his or her decision under subsection (1), (2) or (4). Evidence at hearing (6) Where a person is brought before a justice under subsection (1), the justice may receive and base his or her decision upon information the justice considers credible or trustworthy in the circumstances of each case except that the defendant shall not be examined or cross-examined in respect of the offence with which he or she is charged. Adjournments (7) Where a person is brought before a justice under subsection (1), the matter shall not be adjourned for more than three days without the consent of the defendant.  R.S.O. 1990, c. P.33, s. 150 (2-7). Section Amendments with date in force (d/m/y) 1993, c. 27, Sched - 31/12/1991 2002, c. 18, Sch. A, s. 15 (1) - see: Table of Public Statute Provisions Repealed Under Section 10.1 of the Legislation Act, 2006 - 31/12/2012 2006, c. 17, Sch. B, s. 15 (1) -  no effect - see: Table of Public Statute Provisions Repealed Under Section 10.1 of the Legislation Act, 2006 - 31/12/2012 2017, c. 34, Sched. 35, s. 25 - 14/12/2017