As well as community service and probation, other non-custodial penalties in Scotland include electronic tagging and drug treatment and testing orders.
The Crown Prosecution Service said a public order charge would be more appropriate but as this does not carry a custodial sentence it would not be in the public interest to proceed.