petitioner was convicted of violating section 23 of the Barber Shop Law as amended by adding thereto subdivision (j) (chap. 526, Stats. 1935), making it unlawful for any person to "operate or keep open any barber shop or college for more than six days in any one calendar week”, and sentenced to imprisonment in the city prison of Oakland in the county of Alameda. Claiming that said imprisonment is unlawful he sought his freedom by writ of habeas corpus in the superior court of that county, and after a hearing upon the writ he was remanded to custodyi He now makes application to this court for the same relief and upon the same grounds, namely, that the provision of the law in question is unconstitutional and void as a violation of rights secured to a citizen by section 1 of the fourteenth amendment to the federal Constitution, and sections 1 ahd 21 of article I and subdivisions 2 and 33 of section 25 of airticle IV of the state Constitution.
The provision of the federal Constitution referred to is to the effect that “ ... no state shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any state deprive any person of life, liberty or property without due process of law, nor deny to any person within its jurisdiction the equal protection of the laws”; and the provisions of the state Constitution invoked .are those declaring the right of a citizen to acquire property, forbidding the granting of privileges or immunities to any citizen or class of citizens which upon the same terms shall not be granted to all citizens, or the passing of local or special laws for the punishment of crimes or| misdemeanors, or in any case where a general law can be made applicable.
It is generally held—and, indeed, it is not contended otherwise by the petitioner—that a legislative enactment designed to promote the safety, health or general welfare oj£ the public is valid, although its enforcement results in curtailing rights otherwise guaranteed by the Constitution, but the petitioner contends that the provision of the Barber Shop Law here in question is not of that character. ,
The precise question involved was before the Supreme Court of the state in the case of
In re Jentzsch,
A somewhat similar question was involved in the case of
In re Sumida,
It is strongly urged by respondent that the persons engaged in the trade of barbering do in fact constitute a class sufficiently distinct from the general community to require or justify legislation applying solely to them. This may be conceded, but the necessity still remains that the particular legislation be peculiarly appropriate to the persons engaged in that trade. In urging his contention the respondent joints out that the entire act known as the Barber Shop Law is designed to promote the public health by' means of the regulations therein contained of a sanitary nature. That is undoubtedly true, and those regulations are not here called into question. But obviously a provision placing an arbitrary limitation on the number of days their shops shall be kept open for the accommodation of the public has not the remotest connection with a law enacted for the purpose of standardizing competency of barbers, requiring that they be persons of moral character, and including a number of sanitary regulations calculated to protect their patrons from the danger of *429 contracting communicable diseases while undergoing their ministrations.
It is suggested in a brief permitted to be filed by amici curiae that the measure should be sustained as a public health regulation because closing a shop on one day a week affords an opportunity to thoroughly clean it, such cleaning not being practicable otherwise owing to the long hours of operation prevailing in the business. This suggestion, we think, is met by pointing out that the sanitary practices prescribed by the Barber Shop Law are such as to require continuous observance, and that the general cleaning of the premises (which is not mentioned in the act) such as sweeping or scrubbing could hardly be left to be done on one day a week, any more than it could with respect to other places of business patronized by the public.
What are known as Sunday laws are upheld, against the objection that they obstruct the constitutional right to freely labor, upon the ground that one day of rest in seven is necessary for the good health of the community. That ground, however, is not available to the respondent in the present ease, for we have in this state a general statute limiting the number of days per week that any employee may work, which reads: “Every person employed in any occupation of labor is entitled to one day’s rest therefrom in seven” (Stats. 1893, p. 54), and the violation of the statute is made a misdemeanor. The petitioner here, however, is not charged with such a violation; and it is obvious that he could keep his establishment open every day of the year and still not require his employees (if any) to work more than six days a week, or even five. It seems apparent to us that the real object in view in enacting subdivision (j) of section 23 of the Barber Shop Law was not to prescribe one day of rest in seven for barbers, but plainly to restrict competition among the owners of the shops. Such an object is certainly not within the police power under our Constitution.
A number of cases from the courts of other states are cited in respondent’s brief in which legislation somewhat analogous to that here involved has been upheld upon the ground that it was conducive to the public health and welfare. As to this it may be said that the conditions with which such legislation dealt were not identical with those we have here; that since many of them were rendered the general conditions sur *430 rounding the subject have been changed by the rapid growth of activities restricting hours of labor in all kinds of business. Nor is the reasoning of those cases so persuasive as to warrant this court in abandoning the rule established in this state by the decisions of our own Supreme Court.
It is our conclusion that subdivision (j) of section 23 of the Barber Shop Law is repugnant to that provision of both the federal and state Constitutions guaranteeing the right of a citizen to pursue a lawful calling, and also tó that provision of the latter forbidding the enactment of a special law where one general in its character can be made applicable.
It is ordered that the petitioner be discharged from custody.
