Those aren’t protected classes.
I guess when you say “regardless of protected class” you mean, a few members of protected classes are getting caught up in a general rule. That doesn’t matter. What matters is if the discrimination targets members of those protected classes, either exclusively, or to a disproportionate degree. That is what the courts look at.
Freedom of association trumps protected classes.
Contract law requires it be voluntary on both side or that contrwct is invalid. One canmotbe forced into a contrsct against their will, that is slavery.
Both parties have to have equal,rights to enter ointo or decline to enter into a contrwct.