There may be a way to sort it out, but we can't tell you what it is if we have to guess about the details of his case. Tell him to consult an immigration lawyer.