Close.Ukraine made a deal with Russia to return their nukes in exchange for non-invasion with US and European signatories as guarentors. (Because Russia has never been trustworthy.)
It's why Nato supplying Ukraine is legitimate. Russia renegged on the non-invasion treaty knowing full well what happens.
Edit: Ukraine has no nuclear building capabilities in the short to medium term. Long term , who knows?