Both sides claimed victory Monday following the ruling.

“Today’s decision should give comfort to all delegates that they cannot be punished for voting their conscience at the Republican National Convention,” David Rivkin Jr., an attorney for Correll, said in a statement released Monday by Delegates Unbound, a group promoting the free-delegate argument. “The court’s decision follows more than 40 years of precedent in firmly rejecting Donald Trump’s legal opinion that delegates are obligated by law to vote for him.”

David A. Warrington, an attorney representing pro-Trump delegates from Virginia who oppose Correll, called the ruling a win for his side because it upholds RNC binding rules. Warrington said his clients don’t care about the state law, but wanted to stop a “Trojan horse” lawsuit meant to upend party rules.

“What they wanted was a ruling to get a federal judge to say delegates can’t be bound,” Warrington said. “This ruling says exactly the opposite.”

Trump campaign attorney Don McGahn said in a statement that the ruling is “a fatal blow to the Anti-Trump agitators.”