As the Talmud itself says, the episode of the rebellious son never happened. So why did God include it in the Torah? 

If we are to take into consideration the feelings of a donkey, how much more so should we be looking out for the feelings of our fellow human beings.

If the laws on punishment of the wayward son were never meant to be implemented, why did the Torah bother including them?