That's the whole crux of the problem, though. You're positing a fully developed human world, complete with noble lineages, allied nation-states, and powerful spellcasters. The dragon, though, is just a giant, fire-breathing dinosaur apparently created ex nihilo that has to show up at the castle...