The court heard Wilson had been of good behaviour since committing these offences and had not been drinking alcohol.
Sheriff Derek Livinston placed Wilson, 3 County Cottages, Elgin, on a structured deferred sentence for three months to October 21 with the condition he attend alcohol services.