This was addressed in “The Pit and the Pendulum” by Poe.
Poe was a well-known ecclesiastical historian.
BEAT me to it! Someone else actually HAS read the story!