jre, i know the vote was very tight. i sympathise with you, and the other half. some of my closest friends are swiss, and i spend many winters and summers there (Nyon and Laussane). they certainly share your concerns.
i also see the irony from within. additionally, switzerland, of all the european countries, is the one which has one of the lowest levels of immigration (both legal and illegal). i think an inexistent paranoia took over many of the no so educated voters.
personally, i think the EU's stand needs to be tough, just make that 50.3% realise that what a mistake they've done. legislation won't go through until the summer, so lets hope much of the absurdity is not passed.