How a Tale of Demonic Possession Predicted the Decline of an Early Medieval Empire