It's non-binding. But after what happened to Qadaffi in Libya and now with the Russian invasion of Ukraine, the word is out on the street. You better get your nuclear weapons now if you want to maintain your territorial integrity.
I think nuclear proliferation is a bad idea and we've been lucky so far. Our luck may run out. So it's only a matter of time before we'll see Hiroshima and Nagasaki again. Probably in our lifetimes.
Eventually there will be weapons that will make nuclear weapons the least of our worries, and there will be no way to control them.