section 523(2)

SECTION WORDING

523(2) Despite subsections (1) to (1.2), (a) the court, judge or justice before which or whom an accused is being tried, at any time, (b) the justice, on completion of the preliminary inquiry in relation to an offence for which an accused is ordered to stand trial, other than an offence listed in section 469, or (c) with the consent of the prosecutor and the accused or, where the accused or the prosecutor applies to vacate an order that would otherwise apply pursuant to subsection (1.1), without such consent, at any time (i) where the accused is charged with an offence other than an offence listed in section 469, the justice by whom an order was made under this Part or any other justice, (ii) where the accused is charged with an offence listed in section 469, a judge of or a judge presiding in a superior court of criminal jurisdiction for the province, or (iii) the court, judge or justice before which or whom an accused is to be tried, may, on cause being shown, vacate any order previously made under this Part for the interim release or detention of the accused and make any other order provided for in this Part for the detention or release of the accused until his trial is completed that the court, judge or justice considers to be warranted.