Epping Forest District Council (EFDC) has lost its latest bid to stop housing asylum seekers at the Bell Hotel in Epping.
The council wanted to appeal a High Court ruling in November that asylum seekers can continue to be housed at the Essex hotel.
But on Friday, two Court of Appeal judges said the appeal could not go ahead.
Lady Justice Andrews and Lord Justice Holgate said the High Court judge did not "duck the issue" related to planning law and that EFDC's appeal was "unarguable".
They said: "The need to provide accommodation for persons present in this country, whether as asylum seekers or otherwise, is plainly capable of being a relevant planning consideration."
EFDC had wanted to secure an injunction that would block them from living there.
It took legal action against Somani Hotels, the hotel owner, claiming that accommodating asylum seekers there breaches planning rules.
Lawyers for EFDC said the housing of asylum seekers is a "material change of use" and has caused "increasingly regular protests".
The Home Office intervened in the case, telling the court the council's bid was "misconceived".
But Justice Mould dismissed the council's claim, saying: "I have not been persuaded that an injunction is a commensurate response to that postulated breach of planning control."
He added that there was a "continuing need" for hotels to supply "contingency accommodation" to asylum seekers, and that this statutory responsibility was a "significant counterbalancing factor".
This comes after Hadush Gerberslasie Kebatu, an Ethiopian national who was charged with sexually assaulting a girl in Epping while housed at the hotel, was deported.
Kebatu, who had arrived in the UK only days earlier before the assault, was jailed for 12 months in September, mistakenly released from prison, and re-arrested, before being given £500 to leave the country.
The hotel became a hotspot for protests last summer after the assault.
(c) Sky News 2026: Epping council loses latest bid to stop housing asylum seekers at hotel
All six crew members killed in US refuelling plane crash in Iraq
Trump's U-turn on Russian oil sanctions is a major coup for Putin
Andrew and Peter Mandelson appear in bathrobes as they sit with Epstein in new picture
Drugs, guns, gold bars and teeth - Sky News joins police on county lines crackdown
Seven-year-old boy dies after being struck by car in Nottinghamshire
No respite from rain as cold showers and blustery winds set to sweep across parts of UK
Jury to begin deliberations in landmark social media addiction trial
Dunblane school shooting: 30 years on, Scottish shooting outrage 'still haunts many'
