there is no question that the act was approved in the exercise of the police power , but petitioner claims that its exercise in this instance is attended by a violation of the constitutional requirements of due process and equal protection of the laws .