the game could have given them to you temporarily and had them fly off to the Dragonspiral Tower after the ending plays, so you could have a tough fight with them afterwards.
Hi you should flesh out this idea and post it in the Third Game Spec thread because it's really good. c: