I was jailed for a year in Iran, just for smo

I was jailed for a year in Iran, just for smoking a spliff.
How was I to know? I was told they were stoners.