A federal judge halted Donald Trump’s plan to renovate a municipal golf court in Washington, DC, on Saturday night, issuing a temporary order that requires the administration keep the course open after Trump said it would be closed on Sunday for the overhaul.

US District Judge Ana C. Reyes said the administration’s push to revamp East Potomac Golf Links into the championship course Trump desires – one of several construction projects the president has sought as part of his effort to remake Washington to his tastes and leave a legacy – likely violated environmental law and ran afoul of procedural guardrails for executive branch actions.

She said the Justice Department’s arguments in the litigation, where it claimed that the November 15 closure was happening for safety reasons, were “pretextual.”