Are you actually going to deny that at the end of the Cold War and the dissolution of the Soviet Union and the Warsaw pact, Ukraine had nukes and them up for a promise of security?
You can have your own opinion but you can’t have your own history.
They weren’t under the control of the Ukrainian government.
By your logic, Turkey has nukes because the US has nukes on a base there.