The old man will pardon him on his last moment in office.
So the decision to prosecute is the thinly-disguised signal from Brandon’s puppetmasters that it’s time for him to exit stage left, no harm, no foul.