Other than lulling you into a false sense of security that all would be OK for you to work and stay illegally, there's nothing really "malpractice" about this. You'd have lost your job and been illegally present no matter WHAT he did.