I've been curious as a Brit living thought the mess that was the brexit vote and implementation, how the Swiss would have dealt with such a matter? I'm told they have better systems and wouldn't have done it like we did but I'm not sure quite how.
We have voted in Schengen membership in 2008, but opted out of many association agreements with EU. We have a referendum like every 4 months, so all of this is not a big deal, things like these are routinely decided with a direct all-nation vote.