A police raid in Dunfermline found a cannabis cultivation with drugs with a potential street value of £13,000.
There were 40 plants discovered in the Adamson Crescent home of Andrew Broadley.
However, he “wasn’t interested in making money” from them, Dunfermline Sheriff Court was told.
In return, Sheriff Craig McSherry was not interested in Broadley’s opinions about legalising cannabis.
He told him to take his views to politicians not the courts.
Broadley, 33, previously admitted that between November 1 and November 25 2015 he produced a controlled drug, cannabis, and was concerned in the supply to others.
When police officers raided his home following a tip-off, he told them, “It’s only a bit of weed. I’ve got 40 of them in the bedroom. They’re all mine.”
Police found 20 plants in a tent and the other 20 were under lights.
The cannabis yield from the plants was estimated at 1120 grams and was estimated to have a street value of up to £10,000, depute fiscal Alex Piper had told the court.
There was also a quantity of cannabis being dried and it had a value of around £3000.
Defence solicitor James Moncrieff said, “He has smoked cannabis for a period of time. He was growing his own rather than buying it at this time.
“There were 40 plants in the house. He had been planning to smoke a chunk of it but admits he was also selling some of it to associates.”
Sentence had been deferred for reports and when Broadley returned to court defence solicitor Chris Sneddon said, “He feels very strongly that cannabis should be legalised, however he understands it is illegal.
“He was growing for his own use and covering the costs by selling it to friends. He’s in the cannabis sub-culture and wasn’t interested in making money out of it.
“He embarked on this enterprise on his own and it turned out he was more successful than he thought.”
Sheriff McSherry imposed a community payback order with 300 hours of unpaid work and a six-month restriction of liberty order.
He told Broadley, “If you want to change the law on cannabis, don’t come here. Go to your politicians.”