a criminal

… who is trained as a lawyer to get themselves out of the legal predicaments they get themselves into.