Which is good and fair. I think the example was Tony Soprano though and the (imaginary) lawyer in question knew full well the kind of shennanigans he was up to, these lawyers know they're defending murderers and people that ruin lives.
But that’s the point of lawyers. When they defend a guilty party, most of the time they know that the party is indeed guilty. They need to, to prepare a good defence.