The Cadaver Synod is a episode from Church history they don't teach you in Sunday school.
The trial began when the disinterred corpse of Formosus was carried into the courtroom. On Stephen VII's orders the putrescent corpse, which had been lying in its tomb for seven months, had been dressed in full pontifical vestments. The dead body was then propped up in a chair behind which stood a teenage deacon, quaking with fear, whose unenviable responsibility was to defend Formosus by speaking in his behalf. ... Stephen VII screamed and raved, hurling insults at and mocking the rotting corpse. Occasionally, when the furious torrent of execrations and maledictions would die down momentarily, the deacon would stammer out a few words weakly denying the charges ... The sentence imposed by Stephen VII was that all Formosus's acts and ordinations as pope be invalidated, that the three fingers of Formosus's right hand used to give papal blessings be hacked off, and that the body be stripped of its papal vestments, clad in the cheap garments of a lay person, and buried in a common grave.Perhaps you prefer a cartoon version or the classic poetry of Robert Browning.