It is the latest setback for Trump’s ballroom plans after the judge temporarily halted the construction project in late March, ruling that proper procedures were not followed before it began.

That decision came after the White House was sued by the National Trust for Historic Preservation.

In the lawsuit, the preservation group argued that the White House had broken the law by beginning construction without filing plans with the National Capital Planning Commission, by not seeking an environmental assessment of the project and by declining to seek authorisation from Congress.

It also alleged Trump was violating the US constitution, “which reserves to Congress the right to dispose of and make all rules regarding property belonging to the United States”.

Trump wrote in two Truth Social posts on Thursday that the project was being constructed on budget and ahead of schedule.

He accused the judge of “attempting to prevent future Presidents and World Leaders from having a safe and secure large scale Meeting Place”.

He also said the underground portion of the ballroom – which he has described as a “shed” for the complex below – “doesn’t work, isn’t necessary, and would indeed be useless, without the above ground sections”.

The president said the complex would include bomb shelters and medical facilities, along with other structures and equipment, though little is known about the overall plans.

“It’s all tied together as one big, expensive, and very complex unit, which is vital for National Security and Military Operations of the United States of America!” Trump wrote.

The East Wing of the White House, which was constructed in 1902, was demolished in October to make way for the multi-million dollar ballroom.

Since then, the proposed blueprint has expanded from a ballroom with a capacity of 500 people to a space that can fit 1,350 guests.

The White House has said the project was expected to cost $400m (£302m) and was being funded entirely by private donors.