In a ruling that gives New York City a victory in its effort to protect undocumented immigrants, a Staten Island judge found that destruction of records submitted for the city’s municipal ID program does not violate New York’s Freedom of Information Law (FOIL).

Following the election of President Donald Trump, whose administration has taken a hard line on immigration enforcement, the Human Resources Administration announced that it would cease to retain records that IDNYC cardholders used to apply for the program.