Talking Iran and foreign policy, the JCPOA was a word hard to miss out. It got everyone riled up both in 2015 when it was signed and in 2018 when the US pulled out.
But then in March 2021 Iran signed a 25-year strategic treaty with China. And now it has acceded as full member to the Shanghai cooperation organization.
Its request for an upgrade from observer member was accepted in September after a wait of some 15 years. Thats hardly coincidence.