The Constitutional 'protections' depend on the interpretation of 5 of 9 unelected judges.

"Protected classes" depend on a majority of legislators state by state or maybe in the US Congress.  And then by that decision of the 5 of 9 unelected judges.

Only the decision of one judge made 'gay marriage' legal in Oregon, despite the majority votes of the people of Oregon.