The U.S. Supreme Court has agreed to hear arguments on the legality of President Obama’s twin executive orders of November 2014 that aimed to block deportation of illegal immigrations and also offer millions of them work permits.

Obama’s plans were blocked first by a federal district judge in Texas and then by the U.S. 5th Circuit Court of Appeals in New Orleans, which kept the judge’s original legal injunction in place while referring the matter back for full trial.

That trial, involving a lawsuit brought by 26 states to block the president’s executive actions, now will likely prove moot, as a decision by the Supreme Court will come in June. That decision will have far-reaching effects if it either curtails Obama’s use of executive orders or if it rubber stamps them.