When Iran took delivery of the first parts of an advanced Russian air defense system this month, it paraded the anti-aircraft missile launchers sent by Moscow to mark Army Day.
Tehran had cause to celebrate: the Kremlin's decision a year ago to press ahead with the stalled sale of the S-300 system was the first clear evidence of a growing partnership between Russia and Iran that has since turned the tide in Syria's civil war and is testing US influence in the Middle East.
But the delay in implementation of the deal also points to the limitations of a relationship that is forged from a convergence of interests rather than a shared worldview, with Iran's leadership divided over ideology and Russia showing signs of reluctance to let the alliance develop much more, according to diplomats, officials and analysts interviewed by Reuters.
"We are continuously developing friendly relations with Iran, but we cannot really talk about a new paradigm in our relations," Kremlin spokesman Dmitry Peskov said last month.
Russia agreed to sell the S-300 system to Iran in 2007 but froze the deal in 2010 after sanctions were imposed on Tehran over its nuclear program.
Moscow lifted the self-imposed ban in April last year as Iran and world powers got closer to the deal that led eventually to the nuclear-related sanctions being lifted in exchange for Tehran curbing its atomic program.
Russia is now weighing the financial and diplomatic benefits of arms sales to Tehran against the risk of upsetting other countries including Saudi Arabia, the United States and Israel, or seeing Iran become too powerful.
"There is a military-economic aspect to this alliance which is beneficial to both sides," said Maziar Behrooz, associate professor of Mideast and Islamic history at San Francisco State University, who has studied Iran's relationship with Russia.
"But on a geopolitical level, Iran and Russia can only form a tactical short-term alliance, not a strategic one. I think the ideological differences between the two are just too deep."
BACKING FOR DAMASCUS
The relationship, long cordial, appeared to reach a new level last September when Russian President Vladimir Putin ordered a military intervention in Syria in support of Iran's ally, President Bashar Assad.
Iran had already deployed its Revolutionary Guards (IRGC), who had rallied Assad's troops to check the opposition's momentum. But it took Russian air power to break the stalemate and give Assad the upper hand.
Militarily, the two powers proved complementary. Iran brought disciplined ground troops who worked well with their local allies, while Russia provided the first-rate air power that Iran and Assad lack.
Diplomatically, the joint operations have made Tehran and Moscow central to any discussion about the regional security architecture.
That is important for Putin as he has sought to shore up alliances in the region and increase Moscow's influence since Libyan leader Muammar Gaddafi, a Russian ally, was killed.
How well Moscow will fare when it comes to winning lucrative business contracts now the nuclear-related sanctions have been lifted is less clear. There is little sign so far of Russian companies making new inroads into Iran.
This is partly for ideological reasons. The Iranian establishment is divided, with President Hassan Rouhani's faction more interested in trading with the West than struggling against it, even if many US policies are still condemned.
Russia has little incentive to join the mostly Shi'ite "Axis of Resistance" to Western interests in the region which is championed by the more conservative Iranian faction as this could ruin its relationships with other Middle Eastern powers such as Israel, Saudi Arabia and Egypt.