The knight in shining armor is there to rescue the princess from the dragon... Or so the knight was told, but really, the king just doesn't want to fulfill his end of the contract he made with the dragon for the protection of his country. He promised the dragon his daughter's hand in marriage, and the dragon was delighted, so of course he agreed to protect the country.