In all fairness, Ukraine is orders of magnitude easier to invade than Switzerland. Just because you're neutral, doesn't mean you're not a target - and Switzerland had for decades pretty robust defense mechanisms (eg. https://www.swissinfo.ch/eng/hidden-devices_switzerland-to-d...).