Depends on the facts. A prosecutor should not have to pay defense counsel’s legal fees so long as the prosecutor acted in good faith. If there were any other rule, who would want to be a prosecutor?
The prosecutor's office investigated the prosecutor and determined that the prosecutor acted in good faith.
Quis custodiet ipso custodes?"