The U.S. Court of Appeals for the Fifth Circuit on Friday sided with Christian-owned businesses and individuals who challenged an Affordable Care Act mandate that private insurers cover certain preventive care services, finding a task force that recommends the services to be covered is unconstitutional.

But calling its opinion “a mixed bag,” the Fifth Circuit also lifted an injunction that would have blocked the government from enforcing the mandate nationwide. Judges Irma Ramirez, Don R. Willett and Cory T. Wilson called the nationwide injunction unnecessary and said U.S. District Judge Reed O’Connor of the Northern District of Texas abused his discretion in issuing relief beyond the plaintiffs.