There are more than two options. Some other options include building defenses against such weapons or actively working to subvert the other side's building process.
Okay - Without understanding a specific tech, would it be possible to defend against it? And subversion may not be possible against certain countries. I would rather have these type of weapons developed by countries ruled by democracy.