There is nothing wrong with the rabbi expressing an opinion, provided that he doesn't force his opinion on anyone else. The rabbi can, for instance, refuse to join Zumba classes. That is the full extent of his authority.
18 Turkish journalists face prison for 'terror propaganda' (AP)
from the article: Haredi rabbis ban all-female Zumba classes