Khamenei’s foreign policy is now completely subject to how the domestic situation in Iran develops. As recent months have shown, he will consider a compromise with the West only when he loses his certainty that all is under control internally.