Do you remember the Cuban Missile Crisis? As that's exactly the Cuban Missile Crisis. I think giving Taiwan nukes would force them to invade rather than risk being attacked with nukes.
Little known face is that Denmark had access to nukes during the cold war. They were not per se on Danish territory, but could be "collected" and deployed at very short notice.