Officials argue the policy discriminates against U.S. citizens and violates federal law.