A federal appeals court ruled on a California law passed in 2025 requiring federal immigration agents to wear a badge or some form of identification.