TEHRAN - Iranian President Mahmoud Ahmadinejad headed for the annual UN General Assembly on Monday with little scope for effective diplomacy, weakened by rivals at home maneuvering to prevent his words to the world being taken as Tehran's official stance.

Trying to divert attention from his fading standing in the Islamic Republic, Ahmadinejad told US media on Tuesday the two US citizens recently sentenced to eight years in prison for alleged espionage would be freed "in a couple of days."

RELATED:
Israeli NGO targets Columbia over Ahmadinejad visit
Chavez says Iran's Ahmadinejad to visit Venezuela

But Iran's judiciary, controlled by rival conservative hardliners, immediately and publicly humiliated Ahmadinejad by ruling out any imminent release of Shane Bauer and Josh Fattal, highlighting the president's deepening credibility deficit.

"Hardline rulers have taken the gloves off against Ahmadinejad ... by delaying the release of the Americans ... The establishment showed that Ahmadinejad is a lame-duck president," said political analyst Hasan Farzi. "Such a weak president is unlikely to be able to achieve any diplomatic breakthrough while meeting world leaders in New York."

Contradictory announcements by Iranian leaders renders comprehension of Iran's complex clerical-led hierarchy even more difficult for the West in such sensitive areas as diplomacy on Iran's contested nuclear program and the popular upheaval in Syria, Iran's key ally in the Middle East.

Iranian politicians, influential clerics and the elite Revolutionary Guards, who quelled anti-government outpourings in the streets after Ahmadinejad's disputed 2009 re-election, have distanced themselves from the president over his challenging of the authority of Supreme Leader Ayatollah Ali Khamenei.

Ahmadinejad has suffered a series of dramatic setbacks in his power struggle with Khamenei. In the past months at least 25 allies of Ahmadinejad have been arrested and several websites affiliated with them have been blocked.

His closest ally, Esfandiar Rahim Mashaei, has been accused of graft, leading a "deviant current" that seeks to challenge the theocratic establishment, and links to a $2.6 billion bank fraud described as the biggest financial scam in Iran's history.

Ahmadinejad has rejected the accusations against his allies and Mashaei is accompanying the president on his UN trip.

Khamenei swiftly endorsed Ahmadinejad's disputed re-election, which created a rift among Iran's hardline ruling elites and ignited months of anti-government street protests.

When Khamenei reinstated Ahmadinejad's sacked intelligence minister in April, the president refused to go to his office for 11 days but lost the battle after Khamenei signaled that he might be dismissed.

"No bitter surprises"

An Iranian official who asked not to be named said Khamenei's allies had warned Ahmadinejad to avoid vitriolic speeches at the United Nations, where in the past he has called for Israel's annihilation and claimed that the United States orchestrated the Sept. 11 attacks on New York and Washington.

"Even if he gives fiery speeches or again calls for Israel to be wiped off the map, these words should not be interpreted as the views of hardline rulers," said analyst Hamid Farahvashi.

"The warning was given to prevent any bitter surprises ... that could put more pressure on the country and its leadership," he said. "But Ahmadinejad is unpredictable."

Iran's cleric-led elite is concerned above all about any spillover effect of popular uprisings against dictatorial leaders in the Arab world. They say these revolts have been inspired by Iran's 1979 Islamic Revolution, although most analysts say they are secular and pro-democracy in nature.

"The main issue for Khamenei is preserving the establishment when all these regime changes are taking place in the region," said Farzi.

Iranian opposition leaders Mirhossein Mousavi and Mehdi Karoubi have been put under house arrest since February to minimize prospects for any unrest. But the leaders insist the pro-reform movement is still alive.

Some analysts say Ahmadinejad's efforts to release the US citizens could be aimed at refurbishing his international image.

"Ahmadinejad can claim that his efforts to build better ties with the world failed because of his hardline rivals," said analyst Hamidreza Bokharai.

"Any kind of backing by the West can strengthen Ahmadinejad's position in Iran," he said, because many Iranians want the Islamic Republic to open up to the West.

A political constellation of conservative elites has crystallized against Ahmadinejad, analysts say, to block his camp winning upcoming elections.

"Hardliners have aligned to block Ahmadinejad's allies to win the parliamentary election in March, which will be a litmus test for Ahmadinejad's popularity," said analyst Reza Sedghi.

"(However), he still enjoys the support of lower-income Iranians ... Ahmadinejad is like Robin hood for some Iranians because of cash handouts by the government."

Please LIKE our Facebook page - it makes us stronger