The Whipping Boy (1994)
A bored little prince makes a poor rat hunter his whipping boy but after his pranks at the royal court almost causes a war with the neighbor king he runs away with the whipping boy to escape from his first spanking. After being in the real world his life will change making him a prince fit to rule.