Sexual orientation is a protected class under anti-discrimination laws. Anti-vaxer is not.
I know that a judges ruling has no basis in rational thought and is simply the opinion of the powerful. I was just pointing out the obvious contradiction in the law.
So is religion.