Russia warned the UN Security Council on Thursday that the collapse of Iran’s nuclear deal would involve a “dangerous” message to the world and undermine efforts to persuade North Korea to abandon its nuclear arsenal.

Russian Foreign Minister Sergei Lavrov said at a meeting of the council on non-proliferation of weapons of mass destruction that the nuclear agreement with Iran is a major diplomatic achievement.

“It is clear that the failure of the joint comprehensive plan of action, especially as a result of one of the parties, will be a warning message to the entire international community, including prospects for dealing with the nuclear problem on the Korean Peninsula,” Lavrov said.

US President Donald Trump agreed on Friday to extend the suspension of economic sanctions against Iran under the nuclear deal, but called on US lawmakers and his European allies to “bridge the catastrophic gaps” in the deal.

Russia, one of six signatories to the pact with the United States, has rejected US concerns and says it is politically motivated.

“In the interests of the political agendas of some countries, we can not give up a real achievement of international diplomacy,” Lavrov said.

At a press conference in Moscow this week, Lavrov said that North Korean leader Kim Jong-un would not agree to give up his nuclear weapons in exchange for lifting sanctions if the same arrangements with Tehran collapsed.

“If these arrangements are canceled and Iran is informed that it must stay within its commitments and we will reinstate sanctions … place yourself in North Korea’s place,” he said.

In his address to the council, UN Secretary-General Antonio Guterres said the nuclear deal was being “questioned”, stressing that it was in the interests of the world to “preserve” it.