These demons are very honourable, or maybe gullible, when it comes to combat.
"This is the only way I can fight."
"Alright, I guess we'll fight by your rules rather than me just ripping your head off right now."
The demons know he's the last hero so even if they're trapped in that room after killing him, they win the war. There's also the chance necrophilia would open the door.