Senate Republicans lauded the U.S. Supreme Court decision Thursday that invalidated President Barack Obama’s recess appointments to the National Labor Relations Board.

“It’s going to be very difficult for the president to get around this, because we can and I predict will continue to hold these pro forma sessions to make sure we don’t go into the kind of recess that can trigger the president’s recess-appointment power,” said Sen. Mike Lee, R-Utah, who was among the harshest critics of the three nominations at issue in National Labor Relations Board v. Noel Canning.

Lee was at the high court Thursday for the announcement of the ruling, which upheld the U.S. Court of Appeals for the D.C. Circuit. The high court said Obama lacked the power to make the appointments during a three-day recess when the Senate says it was—at least technically—still in session.