New York City and Republican state representatives who sued to block the destruction of records related to the city’s municipal ID program are battling in court over whether destroying the records would jeopardize public safety and if retaining them would leave the information vulnerable to hacking.

The legislation establishing the IDNYC program, which the New York City Council approved in 2014, contains a provision giving the commissioner of the city’s Human Resources Administration (HRA) the power to destroy records that applicants submitted to the IDNYC to obtain cards, such as copies of birth certificates and utility bills, by Dec. 31, 2016.