Nuking your desired safe haven is obviously a stupid idea. But threatening them with nukes so they accept you in, that's a reasonable negotiation tactic when you're otherwise up against the wall. If they refuse, making a stronger threat is an obvious next move. There is, however, no obvious stopping point before tensions are so strong that a small mistake - or someone at high enough level getting irrational - will cause the nukes to be launched.
All cooperative moves are much better than extended suicide - for both sides.
It's effective, because the other side is forced to bet their own lives on you eventually accepting defeat and agreeing to die, so that they may live. It's not an easy bet to make and stick to.
All cooperative moves are indeed better than suicide, but when we're at the point everyone wants to get to NZ, we're way past the time of cooperative solutions.
Also, assuming that there are only zero or negative sum moves left is a really big assumption.
Do you think if e.g. India or Pakistan start experiencing lethal wet-bulb temperatures and people there decide to mass-migrate to survivable lands, only to be stopped at the border and denied entry, will those people and these countries just throw their hands up in the air, seeing there's nothing they could do, and accept imminent death? Or maybe they'll try to threaten or force to be let in, using any means available, up to and including nuclear weapons?
(This applies to all nuclear-armed countries - I mentioned these two, because AFAIK they'll be the first nuclear powers likely to experience lethal wet-bulb temperatures - but that's not the only way climate change could make a country mass-evacuate, and such other factors could hit other nuclear powers first.)