Yes, what's use of a superweapon if you can't make use of it?
From my childhood experience, some times you need to commit without reservations to completely hopeless, no chance fights, as the only hope for a way out. Strong adversaries often don't expect the weak to even attempt to fight back.
- would the weapons be neutralized in most or all cases by Russia before it reaches the targets? Perhaps yes? I don't know much about that sort of thing.
- it would give a carte blanche to Russia to wipe out Ukraine, which it has the means to do if it comes to total war.
That's why I'm skeptical that nuclear weapons bring more benefits than trouble for smaller players.
But the final result would be the same as Russia deliberately bombing themselves and amputating a big chunk of their own country forever. The radioactivity would not stop in the Ukranian frontier. All nuclear weapons are boomerangs
But the game the Pakistanis imagine is different. Their concern (as I understand it) has always been that an existential war for them could be a small, regional, thing for India. Nuclear weapons are a way to change that.
I believe the same fear explains a lot of their meddling in Afghanistan. Having some chaos on their border is one thing, but having a serious independent country which could one day choose to ally with India is regarded as a mortal risk.