I wouldn't call Iran a real theocracy, it has been crumbling for some years now.
Pakistan is indeed a lot more dangerous, I don't see any prospect of Iranian conflict, why would they. Pakistan on the other hand have issues with India and vica versa