The U.S. Supreme Court on Wednesday boosted the Trump administration’s efforts to limit immigration by allowing a rule to take effect that requires asylum seekers to first seek refuge in countries they pass through before coming to the United States.

In Barr v. East Bay Sanctuary Covenant, the high court, with Justices Ruth Bader Ginsburg and Sonia Sotomayor dissenting, temporarily lifted a nationwide injunction blocking enforcement of the so-called “third country” asylum rule. The injunction first was imposed July 24 by U.S. District Judge Jon Tigar o the Northern District of California. Tigar said the rule was likely invalid because it was “inconsistent with existing asylum laws.”