This concluding part of the story is just what I suspected, a very happy ending because the youngest son would leave no stone unturned but would do everything according to what the spirit woman told him. And everything she told him came to pass, and he in turn obeyed all the instructions given to him.
But the King is a very cunny Man and I believe he didn't have the intention of giving out his daughter to the humble boy and without the backing of the supernatural woman, the Young lad wouldn't have been able to pass that difficulty test.
The zucchinis look appetizing.
RE: Folk Tales from Gascony: The Three Orange Apples, Part 3.