A federal judge in Louisiana on Friday temporarily stopped the Biden administration from ending Title 42, the Trump-era border management policy that allowed officials to quickly expel foreign nationals at the border under pandemic conditions.

The policy was due to end Monday as part of the Biden administration’s efforts to restructure border and immigration policy after the Trump administration’s overhaul of the system

U.S. District Court Robert Summerhays granted a preliminary injunction to a group of GOP state attorneys general challenging the policy change. Summerhays, who was appointed by former President Trump, ruled that the Biden administration cannot roll back the policy while the broader legal challenge plays out in court.

The injunction is a political victory for the red states that brought suit, but it could also help the Biden administration ease pressure on immigration, as high numbers of crossings are expected to continue throughout the summer.