Well, to be honest, it's half thought experiment and half "Having an card up my sleeve to abort a TPK".
In the game I'm DMing, there is a devil fight coming up that happens right after a series of tough fights. It's winnable if the PCs are smart. But we all know that players can be thicker...