The squire is miraculously revived at the end of the tale, and the knight is not executed but instead must become the now knighted squire's servant as punishment.
The squire is unexpectedly restored to existence at the end of the story, and the knight is spared execution but must assume a subordinate role as punishment for their actions.