A Home Office policy of removing EU citizens found sleeping rough on UK streets is unlawful and must stop, the High Court has ruled.
Campaigners brought the case on behalf of three men facing removal.
They say the decision - which applies to those from the EU and four other nations in the European economic area - will affect hundreds of people.
The Home Office said it was disappointed by the judgment but would not be appealing against it.
The Public Interest Law Unit (PILU) at Lambeth Law Centre, which brought the judicial review, said the Home Office had been carrying out "regular raids" on locations where officials believed they would find European nationals who could be deported.