I’d say that is an alliance to two very weakened would-be empires.
Russia can use all the friends she can get. Iran, in the crosshairs of the US and Israel, does as well. Deals not bombs!