Probably not unconstitutional. Decades ago (I think in the 1970s), the Supreme Court recognized "protected classes" to whom different rules applied.
It violates the civil rights act.