Sealing a record in California does not remove it from consideration by an immigration court. Though there should be no immigration consequences from mental health diversion as long as: You do not plead guilty to a removable (deportable) offense or an “inadmissible” crime, and You do not admit to any facts that are essential elements of such an offense.