"(2) The court may make a criminal behaviour order against the offender if it— (a) is satisfied that the offender has engaged in behaviour that caused or was likely to cause harassment, alarm or distress to any person, and (b) considers that making the order will help in preventing the offender from engaging in such behaviour."