Well, the painful nature of that method was probably seen as a side benefit (you're right, they really hated him). But the actual choice of method was made because they did not want the King's body to be visibly harmed. So they chose a method where all the damage was on the inside.
It was also considered the proper punishment for someone of his...preferences.
Regards, Ivan