These lawyers are just following the lead of the lawyers who become judges and politians.
I remember a self righteous yet correct character on another good cable show, “The Wire,” going off on a prosecutor for that very thing. Of course, SPOILER ALERT, he had just faked a series of supposed serial murders in order to defraud the city of money to pay for an illegal wiretap. Which she conspired to look the othef way on to save her career, which eventually led to the bench.