But it was a trap!
In the armour of the knight was only her squire.
The true female knight sneaked in and set the dagger at the dragon throat!
Easy to tell the rest - the dragon was defeated and the princess rescued!