if the Moslems in Dearborn, Michigan pass a law that says that no woman can drive a car in the city, or walk the street unless dressed in a burka, would that be constitutional?
It obviously violates the 14th Amendment ‘Equal Protection’ clause so no it would not be Constitutional. You would be making a law not for ALL but specifically targeting women.
In this case one could make the argument that California’s law violated the ‘equal protection’ clause as well if you are going to take the position that children must be treated equally to adults under the law but I would say go ahead because then it would show a ridiculous agenda.