Fireworks exploded in the sky over Iran as word circled the globe that President Barack Obama’s “negotiating team” had capitulated to nearly all of Iran’s demands – lifting sanctions and arms embargos, and putting Iran on a path to nuclear weapons even sooner than the paltry ten years the President originally promised.

It is a stunning victory for the Iranians, who will gain both the prestige and nuclear arsenal of a superpower from the deal, and President Hassan Rouhani was not shy about celebrating it, with his comments translated into a string of tweets:

 

 

That last is a reference to Supreme Leader Ali Khamenei–who just a few days ago declared Iran was still dedicated to fighting “global arrogance,” which the United States is “the true embodiment of.”

Rouhani wasted no time building on the prestige Obama gave him, issuing a combination of promises and dire warnings to Iran’s potential allies and regional enemies:

Of course, he wrapped it up with the standard ritual declaration that Iran does not want the nuclear weapons it will be detonating in eight years or less:

Also celebrating: Iran’s client in Syria, Bashar al-Assad:

CNBC describes Rouhani as “triumphant,” although its analysis mostly focuses on how the deal, and the anticipated rebound of the sanctions-hobbled Iranian economy, will give him leverage over domestic opposition. The Obama administration is betting heavily on Iran “moderating” as its economy flourishes–an analysis that pointedly ignores what the theocracy actually does with most of its spare cash, such as sponsor terrorist operations across the world. It is easy to find the sort of statement from Iranian leaders that led Obama and his foreign policy brain trust to conclude that, despite their apocalyptic rhetoric, military aggression, and support for terrorism, the Iranians are actually a materialistic secular government primarily interested in the fruits of sanctions-free prosperity for their people–if not from the goodness of the regime’s heart, then because they want to keep the people content so they can remain in power. But all of those statements come with the ominous little stingers Obama has convinced himself the Iranians don’t really mean. For example, CNBC quotes Rouhani telling a rally last month, “We want the nation to be happy and productive, to have a bright economy and social welfare–and to have (uranium) centrifuges, too.” In the end, Obama obliged him.

And AFP says Supreme Leader Khamenei kept hardliners on board throughout the negotiating process with promises that it would end pretty much the way it did (emphasis added):

Rather than representing submission to the West, the agreement is likely to consolidate Khamenei’s rule, according to Davoud Hermidas Bavand, a veteran political analyst at Tehran University.

And whatever the evident contradictions of a pact with the “the great Satan,” the core of Iran’s nuclear programme has been preserved.

The domestic imperative to end the deadlock was ultimately more important, Bavand said.

“Ordinary Iranians felt involved in the negotiations and the leadership recognised that,” he said. “Economic sanctions had a huge impact on the population, more than on the regime.”

The accord may also allow Khamenei to claim victory over Iran’s regional foes, who accuse Tehran of malign military intent and a regional power grab.

It probably amounts to a marginal win over Israel, Saudi Arabia and even Turkey,” said Bavand, describing the nuclear deal as a step forward for a war-wracked Middle East.

“In coming years it may well be seen as the measure that reduced regional tensions.”

Iran created those tensions, then used them as leverage to get what it (and Russia!) wanted from the United States and Europe. That’s called victory in any handbook of military strategy.