The court has ordered a court to enforce a temporary injunction on Donald Trump’s order to build a wall along the US-Mexico border to stop illegal immigration.
The order, issued by US District Judge Liam O’Grady on Wednesday, prohibits Trump from enforcing the order until a court has determined that the injunction is invalid.
“The president’s executive order is not a lawful order,” Trump said on Twitter on Wednesday.
“I have instructed the US attorney general to enforce the order, and he will.”
Trump is the latest president to have his own legal troubles.
In February, he was ordered to reimburse the United Nations more than $1 billion over his decision to stop the U.N. and U.S. agencies from using their funds to pay for refugees and migrants.
The Trump administration has also been facing backlash for its response to the hurricane, which was blamed on climate change.