at the same time, such an attack would also legitimize iran leaving the non-proliferation treaty because within the treaty, there are legal ways of leaving it if the national security of the country is endangered.