John Forrest, 33, appeared at Aberdeen Sheriff Court where he admitted possession of the drug on Back Hilton Road in Aberdeen on Friday.
Fiscal depute Alan Townsend said police in the area at 11pm noted a strange smell coming from a vehicle, searched it and discovered 6.5g of cannabis under a seat.
Defence agent Iain Hingston said: “Mr Forrest has used cannabis for some time recreationally but also to assist with a number of medical problems he had.”
Sheriff Mungo Bovey deferred sentence on Forrest, of Spey Road, Aberdeen, until April for him to be of good behaviour.
This article originally appeared on the Evening Express website. For more information, read about our
new combined website.