It has been a storyline in hit soap Coronation Street for weeks.

Disabled Izzy Armstrong has turned to smoking cannabis for pain relief.

And now a Huddersfield man who admitted using cannabis for pain relief was given a sympathetic hearing at Leeds Crown Court by a part-time judge who said he had been watching the similar storyline on Coronation Street.

Recorder Paul Isaac heard police seized cannabis and 12 immature plants growing in a top-floor room at Sean Alex Langshaw’s home in Wood Terrace, Primrose Hill, Huddersfield on November 19 last year.

Coronation Street actress Cherylee Houston

When he was interviewed Langshaw told police the drug was for his own personal consumption to relieve his chronic arthritis.

Recorder Isaac said there was a very similar storyline going on in the soap at the moment.

Wheelchair-bound Izzy has started using cannabis to help relieve her pain after she said her prescription medication was not helping.

Chloe Hudson representing Langshaw submitted a letter from his GP outlining his medical condition.

The court heard Langshaw, 45, had told a probation officer he realised in making the choice he had he had placed himself in difficulties with the law.

Langshaw who admitted producing cannabis was given a conditional discharge for a year.

Watch: M62 biker catches motorist using phone while speeding along fast lane

Watch: Shocking video shows selfish M62 driver in hard shoulder as air ambulance attends serious crash

Recorder Isaac told him: “It puts courts in a terribly difficult position because on one hand anybody reading your medical state could not fail to be entirely sympathetic.

“It is a criticism of our society that in order to alleviate your pain you can’t get something from your GP but he says he cannot help you to the same extent you gain relief from cannabis.

“I can’t encourage you to break the law I can only follow the law, which says you must not grow it or be in possession of it.”

“I sentence you on the basis this grow was entirely for your own use and there was no question of you sharing it with anybody else or taking it for any other reason than to alleviate your symptoms and disabilities.”

He warned Langshaw that others might have taken a different view.