Sorry I read this not earlier. There are flags in the editor, that when triggered, can´t be made obsolete by making the building obsolete, that had triggered that flag. One of them is spying, another one is building nuclear weapons (triggered by building the manhattan Project).