And two giants come to him out of a fairy tale to judge how to split up the three things they have stolen.
They didn't read enough fairy tales. The prince, wisely, says he must test them to be sure they work, or the division will be unjust. Then he uses them to kill them.
Whereupon the author goes -- Hmmmm. . . ..
delete, delete, delete.
'cause it doesn't matter that there are very few fairy tales where you can show how sage the hero is by having him make a judgment. Not next to the obvious fact that I've put three powerful magical objects into his hands. Too much. It will give me too much trouble to give him trouble with this much. (Especially since I've already given him something else.)
Sometimes the muse needs to be curbed.
Unless he could get rid of them. . . .