section 810(3)


810(3) The justice or the summary conviction court before which the parties appear may, if satisfied by the evidence adduced that the person on whose behalf the information was laid has reasonable grounds for his or her fears, (a) order that the defendant enter into a recognizance, with or without sureties, to keep the peace and be of good behaviour for any period that does not exceed twelve months, and comply with such other reasonable conditions prescribed in the recognizance, including the conditions set out in subsections (3.1) and (3.2), as the court considers desirable for securing the good conduct of the defendant; or (b) commit the defendant to prison for a term not exceeding twelve months if he or she fails or refuses to enter into the recognizance.