U.S. Trade Representative Jameson Greer said on Sunday that President Donald Trump’s administration continues talks with its trade partners despite a Court of Appeals ruling on Friday that deemed most of the tariffs imposed illegal.

Greer added in remarks on Fox News: “Our trade partners continue to negotiate closely with us… They are making progress toward agreements, regardless of what this court may decide in the meantime.”

A federal Court of Appeals ruled that President Trump does not have the legal right to impose tariffs on nearly every country on earth, but it upheld his efforts to build a protective shield around the U.S. economy.

According to the ruling by the U.S. Federal Circuit Court of Appeals, Trump was not legally allowed to declare national emergencies and impose import taxes on nearly every country, a ruling that largely upheld a decision issued by a specialized federal trade court in New York last May.

The judges wrote in their ruling: “It seems unlikely that Congress intended… to grant the president unlimited authority to impose tariffs,” but the judges did not immediately cancel the tariffs, giving the administration time to appeal to the Supreme Court.

The future path of the case remains unclear, as the Trump administration can quickly appeal to the Supreme Court or allow the trade court to reconsider and possibly narrow the scope of the injunction on the tariffs.

Trump has pledged to do so, writing on the social media platform Truth Social: “If this decision is allowed to stand, it will literally destroy the United States of America.”

Trump said the court’s ruling that most of the tariffs he imposed were illegal is “incorrect,” adding that all tariffs remain in effect.