A California appeals court has vacated the drug conviction of a Mexican national and U.S. resident and has told the lower court to set a trial on the charge, finding he wasn’t properly told by his lawyer that pleading guilty would lead to deportation.