This really happened in a game. Komi is 6.5 and both players have 25 prisoners. The player who wins the ko wins the game by half a point. Since black was out of ko threats, he decided to take the risk and ignored white's threat. The game didn't end well for him.