The Legal Aid lawyer is duty bound to defend such people with the utmost vigor, even if the lawyer knows that the client is guilty and is likely to do more bad things if the lawyer is successful in his or her defense.
FORBES: In praise of Legal Aid lawyers (by a white collar criminal defense practitioner)