WASHINGTON — President Donald Trump said on Sunday that his administration will immediately appeal a federal judge’s order blocking the closure of East Potomac Golf Links, the historic public golf course in Washington he wants to rebuild as a championship venue.

“Why would a judge want to delay taking a terrible and very unsafe golf course, one that is mocked all over D.C. (and far beyond!), instead of quickly turning it into a great and admired one,” Trump asked in a post on Truth Social, saying the administration, “Will immediately appeal, on an expedited basis, this highly destructive and political decision of the judge. Time is of the essence, or golf seasons, jobs, prestige, and much money, will be lost.”

U.S. District Judge Ana C. Reyes issued the temporary order on Saturday night, hours before the course was due to close on Sunday for the overhaul. She found that the administration’s push to revamp the course likely violated environmental law and ran afoul of procedural guardrails for executive branch actions, and said the Justice Department’s claim that the November 15 closure was happening for safety reasons was “pretextual.”

“The Government proposes to close a historic park, daily enjoyed by Washingtonians of all stripes, indefinitely,” Reyes wrote, finding that the closure would “irreparably harm” the plaintiffs, individual golfers and preservationists. Her order keeps East Potomac Park and the golf course open through November 28, and a federal planning commission is set to review the new course design on December 3.

The Justice Department said after the ruling that it will “always vociferously defend the Trump Administration’s agenda in court.” A department spokesperson noted that the court had acknowledged the National Park Service can limit access to its facilities where the public is at risk of harm, adding: “Nothing in the Court’s order precludes planning for the development of a world class golf course to continue.”

It is the latest development in a months-long battle between Reyes and the administration. Trump first publicly proposed taking over and expanding the municipal course in May and was soon seen touring the grounds with Interior Secretary Doug Burgum and Tom Fazio, a well-known golf designer who worked on several of Trump’s private courses. The president initially said work would begin on September 1, which accelerated the legal challenge brought by preservationists and golfers, who argue the redevelopment would run afoul of federal environmental regulations and diminish public access.

In October, Reyes issued a stark order blocking tree removal and imposing new notice requirements after more than 400 trees were removed from the course with minimal notice. “More than just being upset and furious right now, I am just beyond disappointed with the government,” she said at that hearing, and she has questioned whether government attorneys misled her about the plans and their timing. The Justice Department has unsuccessfully tried to remove her from the case.

On Saturday, Trump continued to promote the project and posted photos of what he has called “Trash Island.” “Unfortunately, Judge Ana Reyes doesn’t want us to quickly and inexpensively fix up the Course which is, also, very dangerous — The Fairways are far too close together,” he wrote. “When you walk down the corridors of Trash Island, you don’t hear the sound of the running Potomac, all you hear is the sound of people screaming, ‘FORE!’” The golf course fight is one of several legal challenges facing the president’s efforts to remake Washington, alongside his plans to rename the Kennedy Center, build a triumphal arch on the banks of the Potomac and construct a ballroom.