The attorney general, citing a law allowing New Yorkers to get a driver’s license regardless of citizenship or legal status, ...