The lawsuit is part of a broad and intense effort by Trump administration officials to stop immigration by undocumented foreign nationals — and to compel cities and localities around the country to help them do it. That tension plays out in big public lawsuits and day-to-day interactions between agents from U.S. Immigration and Customs Enforcement, known as ICE, and local officials who contend that enforcement is strictly a federal duty.