section 110(1)


110(1) Where a person is convicted, or discharged under section 730, of (a) an offence, other than an offence referred to in any of paragraphs 109(1)(a), (b) and (c), in the commission of which violence against a person was used, threatened or attempted, or (b) an offence that involves, or the subject-matter of which is, a firearm, a cross-bow, a prohibited weapon, a restricted weapon, a prohibited device, ammunition, prohibited ammunition or an explosive substance and, at the time of the offence, the person was not prohibited by any order made under this Act or any other Act of Parliament from possessing any such thing, the court that sentences the person or directs that the person be discharged, as the case may be, shall, in addition to any other punishment that may be imposed for that offence or any other condition prescribed in the order of discharge, consider whether it is desirable, in the interests of the safety of the person or of any other person, to make an order prohibiting the person from possessing any firearm, cross-bow, prohibited weapon, restricted weapon, prohibited device, ammunition, prohibited ammunition or explosive substance, or all such things, and where the court decides that it is so desirable, the court shall so order.