section 525(4)


525(4) If, following the hearing described in subsection (1), the judge is not satisfied that the continued detention of the accused in custody is justified within the meaning of subsection 515(10), the judge shall order that the accused be released from custody pending the trial of the charge on his giving an undertaking or entering into a recognizance described in any of paragraphs 515(2)(a) to (e) with such conditions described in subsection 515(4) as the judge considers desirable.