Exactly. Safe zones are just like gun free zones. You cannot be attacked in a "safe zone" and cannot be shot in a "gun-free zone". It would be illegal.
Berkeley, CA declared itself a "nuke free zone" years ago. So now North Korea cannot ever attack them with a nuke. That would be illegal.