I spent a couple of years in Lausanne so am aware. Swiss police don't mess around, you need to follow the rules if you want to live there.