Cal. Gov't Code § 28061
Counties containing a population of 28,000 and under 30,000 are counties of the 40th class.