The International Court of Justice ruled that the Trump Administration must lift all sanctions which have an impact on the import of humanitarian goods and products as well as services linked to the safety of civil aviation.
The ruling earlier in the day by the Hague-based court had stated US assurances that the sanctions would not negatively impact humanitarian aid and aviation safety "were not adequate".
US President Donald Trump moved to restore tough US penalties in May after withdrawing from Tehran's nuclear accord with world powers.
Pompeo told reporters that the termination of the treaty was decades overdue.
"Given Iran's history of terrorism, ballistic missile activity, and other malign behaviors, Iran's claims under the treaty are absurd", Pompeo said.
Iran's Foreign Minister Mohammad Javad Zarif says the United States government has proven its reputation as an "outlaw regime" by quitting yet another worldwide treaty out of spite for Iran.
Pompeo said Wednesday that the USA has already made clear that there will be humanitarian exceptions to the sanctions.
Chinese destroyer nearly hits US Navy ship in South China Sea
The destroyer "approached within 45 yards of Decatur's bow, after which Decatur maneuvered to prevent a collision ", he said. Washington last week enacted new tariffs against China covering another $200 billion of its imports.
The US is expected to challenge the court's jurisdiction in a future hearing.
In an attempt to compel Iran to agree to a new accord, the president reinstated sanctions that targeted the Iranian government's purchase of U.S. dollars, Iran's trade in gold and other precious metals, and its automotive sector.
The U.N.'s top court has ruled in Iran's favor in its dispute with the USA, giving the country a partial victory by saying the U.S.
"The court finds unanimously that. the United States of America. shall remove by means of its choosing any impediments arising from the measures announced on 8 May to the free exportation to Iran of medicines and medical devices, food and agricultural commodities" chief judge Abdulqawi Ahmed Yusuf said, according to the Times of India.
The rulings of the ICJ - which is based in The Hague - are binding but the court has no power to enforce them.
However, the United States ambassador in the Netherlands, Pete Hoekstra, pointed out in a tweet that the "court declined.to grant the sweeping measures requested by Iran" - after dismissing the entire case as "meritless". "Imperative for int'l community to collectively counter malign USA unilateralism", Mohammad Javad Zarif tweeted. "Iran is attempting to interfere with the sovereign rights of the United States to take lawful actions necessary to protect our national security".
U.S. Secretary of State Mike Pompeo blamed Iran on Wednesday for threats to American missions in Iraq and said the United States was terminating a historic treaty with Tehran on consular and economic rights. Nonetheless, the treaty remains in force.
Iran's President Hassan Rouhani exits following a news conference on the sidelines of the 73rd session of the United Nations General Assembly at U.N. headquarters in NY, U.S., September 26, 2018. He recently heavily criticized the separate International Criminal Court in The Hague over a probe into alleged USA abuses in Afghanistan.