Dukat, he can talk anyone into doing anything with enough time.
Would you rather have Garak or Guinan as your attorney?
Garak. The man is the king liar, and has proven he can get around legal problems before. Six months for attempting to hijack the Defiant, genocide an entire race, resisting arrest and assaulting a Starfleet officer? That he probably didn't even serve the whole sentence given he was back rather early on in season five.
Would you rather have Riker or Archer as your attorney?