I wondered that myself . What prevents a lawyer from tainting a case on purpose to save the defendant ?
Not ever being trusted again to handle a case is one thing, because for it to work you would have to be caught.