A federal judge on Saturday blocked the Trump administration from closing East Potomac Park and its public golf course in Washington, NBC News and CBS News report. The closure had been set for Sunday. Judge Ana Reyes ruled the park must stay open while the case moves forward.

Reyes wrote that closing the park would "irreparably harm" the plaintiffs, a Washington preservation league whose members use the park, NBC News reports. CBS News says she sided with a preservation group and two local golfers. Her order lasts until November 28, according to CBS News. The order does not force the administration to keep running the golf course, NBC News and CBS News report.

The government had argued that the park had to close for repairs, including work on a sea wall. Reyes was skeptical. "If public safety were at risk, NPS would have taken a step—any step—to address the safety issues it knew about," she wrote, according to NBC News. CBS News reports that she called the government's reasons pretextual and wrote that it "reverse-engineers additional justifications for the Park's closure."

President Trump called the park "trash island" hours before the ruling, NBC News reports. A Justice Department spokesperson said, "Nothing in the Court's order precludes planning for the development of a world class golf course to continue," according to CBS News.

The public course opened in the 1920s, CBS News says. Trump announced last month that it would close on November 15 so work could start on a new design by golf architect Tom Fazio, with the new course expected in about 15 months, according to CBS News. The fight grew after the National Park Service cut down hundreds of trees on the course, and Reyes then blocked further tree removal.

Catherine Carroll, a senior legal adviser at Democracy Forward, said the court had stepped in against "another one of the president's vanity projects," CBS News reports. The National Capital Planning Commission is set to review the new course plan on December 3, CBS News says.

What we know: Judge Ana Reyes has temporarily blocked Sunday's planned closure of East Potomac Park, without requiring the government to operate the golf course. What we don't know: What the judge will decide after her order expires, and whether the course redesign will move forward.