In response to a U.N. court order that the U.S. lift sanctions on Iran, the Trump administration said Wednesday it was terminating a decades-old treaty affirming friendly relations between the two countries. The move is a largely symbolic gesture that highlights deteriorating relations between Washington and Tehran.

Secretary of State Mike Pompeo said withdrawing from the 1955 Treaty of Amity was long overdue and followed Iran “groundlessly” bringing a complaint with the International Court of Justice challenging U.S. sanctions on the basis that they were a violation of the treaty.

The Iranians have ignored the treaty “for an awfully long time,” Pompeo told reporters. “We ought to have pulled out of it decades ago.”

The treaty was signed when America and Iran were allies after the 1953 revolution, fomented by Britain and the U.S., that ultimately cemented the rule of Shah Mohammad Reza Pahlavi.

Diplomatic relations were severed following Iran’s Islamic Revolution in 1979 and the takeover of the U.S. Embassy and ensuing hostage crisis. Nonetheless, the treaty remains in force.

Pompeo said the practical fallout from the U.S. decision to withdrawal remains to be seen.

“This marked a useful point for us to demonstrate the absolute absurdity” of the treaty. He said.

On Wednesday, the U.N. highest court ordered the United States to lift sanctions on Iran that affect imports of humanitarian goods and products and services linked to civil aviation safety.

President Donald Trump moved to restore tough U.S. penalties in May after withdrawing from Tehran’s nuclear accord with world powers. Iran challenged the sanctions in a case filed in July at the court.

In a preliminary ruling, the court said Washington must “remove, by means of its choosing, any impediments arising from” the reimposition of sanctions to the export to Iran of medicine and medical devices, food and agricultural commodities and spare parts and equipment necessary to ensure the safety of civil aviation.

By limiting the order to sanctions covering humanitarian goods and the civil aviation industry, the ruling did not go as far as Iran had requested.

I don't think they'll rest until the entire world bands together in opposition to the United States of America in every way. What could go wrong?