An alien who wasn’t advised of the deportation consequences of a guilty plea must stay in custody until the U.S. Supreme Court decides if a watershed case on effective assistance of counsel is retroactive, a judge says.

Agustino Smith, who was once deported to Jamaica due to criminal convictions, reentered the U.S. illegally, which is a criminal offense. He is in custody awaiting trial.