Donald Trump on Friday railed against the supreme court justices who blocked his use of tariffs, calling the decision a “disgrace to the nation” and claiming he planned to impose even more tariffs under other statutory authorities.

“It’s my opinion that the court has been swayed by foreign interests and a political movement that is far smaller than people would ever think,” the president said during remarks from the White House. He cast that influence as social and cultural. “I’m ashamed of certain members of the court. Absolutely ashamed for not having the courage to do what’s right for our country.”

He praised the three justices who dissented in the opinion – Brett Kavanaugh who wrote the main dissent, joined by Justices Clarence Thomas and Samuel Alito. The others – including two of his appointees, Amy Coney Barrett and Neil Gorsuch – drew his derision.