Where a person is charged before a court of summary jurisdiction with any act or omission as an offence and the court would have the power on conviction to make a public protection order, if the court is satisfied that the person did the act or made the omission charged, the court may make a public protection order with or without restrictions if it considers it appropriate to do so.