Should be in the GUINESS BOOK OF WORLD RECORDS (spoiler warning)
The Guiness Book of World Records has a section for movies. Most expensive move, most popular movie, movie with the most extras, and so on.
Well if there ever was a category for the movie with the most ironic twist ending ever this would be it in my opinion.
I mean not only does the hero of the story lose and fail but on top of that he DIES and on top of that his GOOD NAME IS RUINED. Everyone will think it was HIM that did this! So a good man trying to save lives and defeat evil terrorists ends up failing horribly, getting killed, getting duped into committing the act for them and ends up being remembered not as a hero but as a sicko.
The unfairness is so extreme. The ending reminds me of the crime suspense story FALL GUY FOR MURDER written as a comic book in the 1950s. This and FALL GUY FOR MURDER have the 2 most ironic endings ever.