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.
Judge refuses to drop charges against Baltimore police in connection with Freddie Gray death (AP)
from the article: Haredi rabbis ban all-female Zumba classes