The proposed settlement would recognize several measurements to ensure New Mexico delivers what’s owed to Texas. New Mexico, meanwhile, agreed to drop its challenges against Texas in exchange for clarifying how water will be accounted for as it flows downstream. The agreement also outlined transfers if not enough or too much water ended up in Texas.

The 5-4 decision rebuffs an agreement that had come recommended by a federal judge overseeing the case over how New Mexico, Texas and Colorado must share water from the Rio Grande. The high court found that the federal government still had claims about New Mexico’s water use that the settlement would not resolve.