Cal. Gov't Code § 28059
Counties containing a population of 40,000 and under 41,800 are counties of the 38th class.