If I sound contradictory it's because I'm uncertain.
Let's say I, like the people running Iran, think a woman should have her head covered in public. It's good for woman, men and all of us together.
What are my options? I can decide that whatever the individuals want the overall badness of an uncovered female head is so great that preventing that is worth sending people to jail. Alternately I could decide that the goodness of letting people make decisions about their own lives is worth the damage that an uncovered female head will do to men, woman and society.
It seems like the rule almost everyone uses is "consenting adults can do things that don't harm non-consenting adults" for everything they don't have a problem with. When they have a problem with it they just flip the script by claiming it's not really consenting. It end up being the open sesame of public policy.
The other problem I have is that I don't think the view I described is right. There has to be a place we - society, the law, whatever - can sit where we can go, "This is wrong. Even if you agree with the action it's hurting you or other people but I'm not going to send you to jail. I'm not going to help you. I'm going to keep shouting from the rooftops that this this is stupid but I'll stop short of depriving you of liberty."
The problem with my idea is that people look at that and they say, why go to all that trouble for something you believe is that harmful when you have the power to take one more little step and stop that thing. All you have to do is put one person in jail. The rest will be scared.
Ever read "the ones who walk away from omelas". It's that.