The Catholic church once put a dead pope on trial