the same thing happened years ago only the judge was the buyee. the defendent was retried. double jeopardy was not an issue, went the SC, because there was no original jeopardy.
Ditto in Chicago. Mob hitman got off by bribing the judge. (Harry Aleman was a defendant’s name, IIRK) He was retried and convicted, which was allowed, because (as HH said) there was no original jeopardy.