Observe the sneaky trick this story tries to play: The president is supposed to kill one of his own before he's allowed to retaliate against the enemy.
As a thought experiment, let's implant the launch code into, say, a captured enemy spy. Is it still the same story?