It wouldn't be the first time:
Pope Stephen (Stephanus) VI was the bishop of Rome and ruler of the Papal States. He instigated the Cadaver Synod. In January 897, Pope Stephen had the body of deceased Pope Formosus exhumed and placed on trial charging perjury and illegal ascension to the papacy (probably Russian collusion
). The corpse was found guilty in a sham trial (impeachment) that was purely politically motivated. Formosus' papacy was retroactively declared null, and his body was thrown into the Tiber River. Days later, the body of Formosus washed up on the banks and, people believed, performed miracles. The illegitimate trial and aftermath caused a public uprising. Pope Stephen was deposed and imprisoned. He was hung while incarcerated. All because he acted on a strong political urge to undo the works of a previous Pope (administration). I don't know if anyone sees a little relevance to current events.
Borrowed from another source.