Iranian religious law on sex is not much less strics than for instance Catholic rulings. A big difference is that the muslim clerics are allowed to have wives and be sexualy active. It's still fun to catch them in what is essentially a human need, but for regular Iranians might mean imprisonment, lashes or a deathsentence.
Here's a nice write up of the last two major scandals:
Glad to see they are participating in the sexual revolution as well!