Everyone will get a happy ending, even if it makes no sense and contradicts the plot.
This is, essentially, an intentional (or semi-intentional) Plot Hole right at the end of a work that is intended to give everyone a happy ending or plot resolution....dispute common sense and absolutely everything else that happened previously. This is where the main character's elderly mentor joins in the post-victory celebrations despite being very-defiantly Killed Off for Real earlier in the film (and we don't mean as a ghost either). Or when a character who should have no idea at all that the main character just got a happy Fairytale Ending seems to sense it happening with their magic Plot Convenience radar and starts celebrating. This is, in short, a blatantly obvious plot-hole resolution that makes no bloody sense in context. Compare: A Wizard Did It. See also Esoteric Happy Ending.
Examples:Computer & Video Games