Which animated movie is this? A girl who is the queen of her homeland accidentally chooses a boy who she hates as her knight to save her homeland from a monster robot.
The boy is a elementary or maybe middle school kid. The queen only takes admission in his school to choose her class' most popular guy as the knight, but accidentally chooses him. The robot kind of looks like Zurg from Toy Story.