A federal court has dismissed a Trump administration lawsuit challenging New York City's sanctuary policies, in a ruling that draws a clear line between federal immigration power and the city's control over its own workforce.

Reporting on the October 17 decision described the court as stressing that federal immigration authority does not automatically require local governments to deploy their employees and resources for federal enforcement. City agencies, in other words, cannot simply be conscripted into immigration operations they have chosen not to join.

The dispute centred on cooperation between city agencies and federal immigration authorities — not on whether federal agents retain their own powers to enforce immigration law in New York, which they do. The ruling leaves that federal authority intact while protecting the city's ability to set the terms of its own participation.

Sanctuary policies in New York limit when city employees share information with immigration authorities and when local facilities can be used for federal enforcement. Supporters say the policies keep immigrant communities willing to report crimes and use city services; critics, including the administration that brought the case, argue they obstruct lawful enforcement.

The dismissal is unlikely to end the fight. The administration has challenged sanctuary policies in several jurisdictions, and appeals and parallel cases elsewhere mean the question of how far Washington can push cities on immigration enforcement will keep moving through the courts.