I mean Ukrainians aren't idiots, I'm sure they could've either cracked any necessary codes or worked around their need in the ~31 years since 1991 (Ukraine's independence).
I suspect it would be easiest to just take the nuclear material out of the unusable missiles and construct a different weapon using it. Russia is adjacent to them so any sort of nuclear weapon launch-able from an artillery or plane still sounds useful.
I think you are missing my point. The Nukes were built by the soviets, but after the breakup, Russia had control of them in Ukraine. In order for Ukraine to take full possession, they would have to fight through Russians at military bases.
I agree with that, my point is that the Ukrainians had the technical capabilities to seize control. And they chose not exercise that option. Besides, why did only Russia, of the 15 post-Soviet states have to retain control over all the stockpile?
The answer is probably because the alternative was too scary for the west. Better to keep dealing just with Moscow.
They were pressured by the US to give up Soviet nukes. Codes are easy to fix, but nukes need service and are expensive to keep so it was as much of sparing measure than anything.
I think you are missing my point. The Nukes were built by the soviets, but after the breakup, Russia had control of them in Ukraine. In order for Ukraine to take full possession of the nukes in their country, they would have to fight through Russians at military bases.
My point is basically that if Ukraine tried to take full control of the Nukes in their country, they would have been picking a fight with Russia, and possibly the US as well.
If Ukraine had nukes and NATO didn't want them to use them or risk losing them, they may have acted.
Again, I think it's unlikely and the "Russia wouldn't have invited Ukraine if they had kept their nukes" doesn't actually fly (and probably would just have been another reason for Russia to invade: 'they're right there and they have nukes!'
As long as they could have taken the warheads apart, they could have built new weapons out of them. Or for that matter, just starting from already enriched fissile material would be plenty.
...and Russia would just have sat there and accepted it? We'd be on the cusp of a much bigger and earlier war.
For that reason, the international community wouldn't have accepted it either, because it would open the door for everyone else to start developing them. Kazakhstan had nukes and voluntarily disarmed for this reason.