I don't always know what "politically incorrect" is being used as a euphemism for but banning mosques seems straightforwardly bad to me idk I guess I'm just a woke dumbass hey.
As said above, it was not banning mosques, but minarets specifically. There were only 4 minarets in Switzerland at the time, and no plan to build any more. You could try to build a minaret in Switzerland, get the permit refused, appeal, and try to go up to a court high enough to make that law illegal. But it seems like nobody cared.
It was more political theater at the time. Not that it was a good vote, but I wouldn't say that the Swiss democracy doesn't work based on that. Switzerland is an example of consensus, and a functional democracy.
Not that you're a woke dumbass, just probably not a true believer in democracy. The thing described above I also dislike, but I recognize I'm not a resident or voter there and I shouldn't get a say in their lives