The U.S. Department of Justice on Saturday formally appealed against a federal court order that blocked President Trump’s controversial travel ban.

Trump had promised earlier in the day to reverse the order issued by Federal Judge James Robart in Seattle, Washington.

“The opinion of this so-called judge, which essentially takes law-enforcement away from our country, is ridiculous and will be overturned!” Trump wrote on Twitter.

“When a country is no longer able to say who can, and who cannot , come in & out, especially for reasons of safety &.security – big trouble!” he said.

The executive order Trump signed a week ago bars nationals of seven Muslim-majority countries from entering the U.S. for 90 days, freezes the U.S. refugee program for 120 days and bans Syrian refugees indefinitely.

It has caused tens of thousands of visas to be revoked and led to dozens of detentions nationwide, triggering mass protests across the country.

Judge Robart halted the order late Friday, leading border agents to declare that canceled visas would be reinstated and refugees with valid visas would be admitted into the U.S.

After obtaining the restraining order, Washington Attorney General Bob Ferguson wrote on Twitter: “No one is above the law — not even the President.”

No more articles