It doesn't guarantee mutual annihilation at all. We've already used nuclear weapons, and there's certainly the possibility they will be used again in future conflicts in a limited scale that doesn't end civilization.
My point is: if you do a good enough job pretending that an alien has already come and gave us a stern warning, you can potentially influence your adversary's thinking.