If it were an oblique attack against people for who they are in terms of their religion or ethnicity, calling out that prejudice would be a slam dunk. Most segments of our society would denounce it. No serious politician would ever get close to it.
It is no less bigoted and prejudicial to target people for who they are in terms of their gender or sexual orientation. Unfortunately, it’s still possible for some politicians to fan the flames of intolerance on these issues by claiming honourable motives.
I believ they fall under property rights to these folks. Like livestock on a farm