That "rule" would make it impossible to prosecute anyone, because the plaintiff would claim that he is a rival of the government in charge.
If a crime has been committed, the responsible parties should be charged, irrespective of their political status or leanings. It will be the jury's task to decide whether the charges are appropriate or political persecution. In the latter case, there should be a way to prosecute the prosecutors, and indemnify the plaintiff.