The last companies to operate in the Art Deco building before its closure were Scott Cinemas and Mecca Bingo.

In June, Somerset Council gave the current owner a formal notice to make the site safe.

At the time, the council said: “We have made a number of attempts to contact the owner, but have not yet received a response.”

Dean and his fellow occupiers claimed that work was not completed, and any emergency renovations were carried out by themselves.

Bridgwater History and Civic Society, which supports the occupiers, sent a letter to the court ahead of the hearing.

In it, member Rodney Coate said: “It would be a great shame, and a historic loss to the town, if an eviction order is granted today, with the almost certain result that, without the current responsible occupier, vandals will enter the building and set fire to it.”

He added that the occupier “is not a homeless person” but “has decided to take on the role of interim caretaker to try and save the building so that a future restoration and community use can be considered”.

However, the judge said: “I have no choice but to give the possession order to the claimants.”