I remember an old movie (might have been a TV show, but I doubt it), which I only caught the end of:
A man (the president) is dreaming that he's on a train, looking out on a nuclear wasteland, and thinking that he caused it all. Hero (man) turns up and fights a baddie, and eventually defeats him and rescues president.
[end of scene]
Another baddie (probably big boss) confronts hero when lift doors open, and taunts him saying "You can't do anything to me". Hero says "Oh can't I?", and pulls his head open to reveal some sort of snake creature, which eats the boss baddie.
[end of scene]
Cut to hero waking up in room underneath big bosses office, with heroine and a device which they switch off, escape and fade to credits.
Anyone know what this film is? It's been bugging me for probably about 20 years.