Spoiler warning
I never played it, but the second Jedi Survivor game has a fight against Vader, but not at your main character. You win in the fight, then the cutscene makes you lose. It’s played off as a “close loss”, but it’s disappointing when you can no-hit the boss and lose for story reasons.
One would hope that a message THAT tone deaf wouldn’t have even made it to the keyboard before realizing what a catastrophically bad idea it was.