A decision by a federal court has paved the way for political delegates to support the candidate of their choice, even if that candidate did not win the state’s primary election.

Patheos.com blogger Warren Throckmorton reports that the case was brought by delegate Beau Correll from Virginia. The state of Virginia voted for Trump in its Republican primary, but Correll said he should not be forced into supporting Trump.

Judge Robert Payne ruled in Correll’s favor. The official ruling stated, “For the foregoing reasons, judgment will be entered in Correll’s favor on Counts I and II and the Commonwealth will be permanently enjoined from enforcing Va. Code § 24.2-545(0).”

This decision could have major implications for the impending Republican National Convention which is set to begin on Monday, July 18. Although Trump won enough primaries and gained enough delegates to clinch the Republican presidential nomination, the federal court’s recent decision could open things up for a different candidate if enough delegates turn against Trump.

Although the court’s decision was unfavorable to Trump, Throckmorton reports that oddly, Trump treated the court’s decision as a win for his campaign, according to a Facebook post.