It's not the motivation, it's the use. From a classical liberal western perspective, the government explicitly using religion for control is being a crazy religious lunatic.
We're talking about a country where Islam is the official religion, renouncing it is illegal, and so is blasphemy against it. For Gods' sake, to apply to university you have to pass an exam on Islamic theology! With that as a baseline, you hardly need to go any further before you look like a completely kooky religious crazyman.
There is no justification to not having Iran as an ally instead of Saudi Arabia or Pakistan.
Yes, Saudi Arabia is also full of religious crazies. Anyone who pays attention to the news knows about Wahhabism, and the morality/religious police there.
For the second point, for that to work it has to apply to the Iranian regime as much as to the west. What justification do they have for not having the west as an ally? It has to cut both ways, for the two sides to be able to meet in the middle.
The population is also far less 'bought in' to these rules and police has a hard time enforcing clothing regulations for example.
In terms of religous freedom and religous pluralism Iran is leaps and bounds ahead of Saudi Arabia and many of the Arab states.
> Iranian leadership is not crazy group of religious lunatics.
And here you are saying that it's the leadership with all these crazy rules, enforcing them on a perhaps-unwilling populace.
The article and many comments point that there is a big gap between how we imagine Iran, and how Iran is really is.
Their idiology informs their forign policy, but so much is true for all nations.
But they're still often thought of as religious kooks, because of the views they espouse. Same kind of deal here.
We should be carful of such simplistic binaries between idiology and state interest.
My point is this, they way they go their national interest is defently inspired by idiological ways of thinking.
* Enforces religious laws on all citizens, and sometimes externally (like the Salman Rushdie case), even when paying a significant price for it.
* Has multiple outsider militia directly swearing loyalty to its leader based on religious connections.
* Repeatedly swears it wants to destroy Israel, and 'Death to America' is a repeated slogan.
'Conclusion:' the leaders don't believe all that stuff.
I think the issue here is that some Westerns that can't believe that anyone actually has different opinions than their modern opinions. Since these people are secular, all religious people are seen as merely engaging in power-play. We can see this attitude often in popular histories...
For sure they enforces religious laws more than most of other countries, but again there is often a gap between what people picture and and the reality. My well educated brother was for example surprise that many girl wear scarf in a way to show half of their hairs, or that Iran pays for the transition of some transgender person. Definitely more liberal than Saudi Arabia...
Most countries that can find ways to boost their international influence. Suporting militia or countries is one way (like USA supporting kurdish militia in Iran°, but religion is only part of the equation. For example Iran supports Sunni groups (Hamas being the most famous)or country (use to get ties with Sudan). Religion helps. But money and military support is the cornerstone here. And many groups needs Iran, but don't like it, its control, have different agenda.
Repeatedly swears it wants to destroy Israel (good communication) but never do anything really in this direction. They have plenty of opportunity but don't act. Cause that is definitely not very important for them, and not realistic. A slogan is a slogan...
Conclusion: Iran is a dictatorship, a theocracy, and is in a fight with USA. Most of their leader are convinced Shia Muslim, but the way they acts shows that they are more guided by Iranian interest and regime / self interest preservation than crazy cleric fighting for primary for Shia everywhere in the world... And while it is a regime I hate, it is clear to me there is a big gap between the perception of Iran and the reality
* Paying for transgender tranisition is enforcing their religious laws - their version of Shia Islam is OK with the tranisition since they see it as a method of 'fixing' homosexuality. It's basically their version of a 'conversion treatment'. As wiki puts it:
"They sanction funds for sex reassignment surgery in order to fit all of their citizens into the category of either male or female without any grey area for those who are homosexual or transgender."[0]
* Iran doesn't do anything to harm Israel except for multi-decade direct funding and military support for every anti-Israel organizations in the neighbourhood.
Again, there's this narrowmindedness in the West that simply can't understand feelings and ideas outside it, including ideas that people in the West once had, and is in particular blind to religious zeal.
[0] https://en.wikipedia.org/wiki/Transgender_rights_in_Iran
Iranian leadership is not crazy group of religious lunatics. Ayatollahs are very conservative group of politicians who use religion for political control. There is nothing there that can't be explained by normal power politics. They have goals and constraints. Their main goal internationally is to become regional power with recognized influence. They see themselves as protectors of the Shia Muslims. Destroying Israel is not any of those goals. It's more of a cynical tool to keep connections into into Shia Arabs and Palestinians.
For the Shia living outside Iran (mainly Iraq, Syria, Lebanon, Yemen) Iran is big brother that helps, but is often too controlling for their taste. The West has a tendency to see all Shia groups as mindless Iranian puppets. In reality it's the function of the situation and options they have. Iraqi Shia leaders have established connection with the US and are playing US and Iran for their own goals. Houthis in Yemen are not Iranian puppets. They have their own fight for their own reasons. Iran is just the only one to help them.
Many IR experts see that there is possibility for "the great bargain" with Iran. It would include recognizing Iran's position as big regional power and deal with Israel. It would also diminish the position of Saudi Arabia. The conflict is between Saudi Arabia and Iran over influence is real.