The U.S. Supreme Court on Monday revived claims from insurers for billions of dollars in payments under a provision of the Affordable Care Act that established risk management protections to encourage companies to participate in the market.

The justices, ruling  8-1 against the Trump administration, said the U.S. government had an obligation to make $12 billion in payments under the so-called risk corridor program, a scheme that was designed to provide protections for insurers who claimed losses for participating in the centerpiece health exchanges set up by the ACA.