The 17-year-old Princess Leonor, heir to the Spanish throne, will undergo a three-year military training starting in August…