A U.S. Border Patrol agent speaks to immigrants after taking them into custody on July 02, 2019 in Los Ebanos, Texas.

The Supreme Court is allowing nationwide enforcement of a new Trump administration rule that prevents most Central American immigrants from seeking asylum in the United States.

The justices' order late Wednesday temporarily undoes a lower-court ruling that had blocked the new asylum policy in some states along the southern border. The policy is meant to deny asylum to anyone who passes through another country on the way to the U.S. without seeking protection there.