I think the message one would hope the mayor would take away from this is that he is not the sole arbiter of standards in public life, that an elected official can nevertheless go beyond what is acceptable.
With freedom of speech comes responsibility. And one has to be sensitive to the people within a society, so there are limits to what can be said.
It's a smokescreen that we have been running some kind of campaign against him. It was he who brought this on himself.