The attorney general ordered the city to reverse the immigration policies by March 31.