section 524(4)

SECTION WORDING

524(4) Where an accused described in paragraph (3)(a) is taken before a judge and the judge finds (a) that the accused has contravened or had been about to contravene his summons, appearance notice, promise to appear, undertaking or recognizance, or (b) that there are reasonable grounds to believe that the accused has committed an indictable offence after any summons, appearance notice, promise to appear, undertaking or recognizance was issued or given to him or entered into by him, he shall cancel the summons, appearance notice, promise to appear, undertaking or recognizance and order that the accused be detained in custody unless the accused, having been given a reasonable opportunity to do so, shows cause why his detention in custody is not justified within the meaning of subsection 515(10).