*993 Opinion
Plaintiffs and appellants appeal from the judgment dismissing their complaint which was entered after the trial court sustained the demurrer with leave to amend of defendants and respondents, and plaintiffs did not amend their complaint. The controversy in the instant case centers on the statutory scheme that was enacted by the Legislature in 1975 and 1976 which covers the treatment of marijuana offenses and offenders. (Stats. 1975, ch. 248, pp. 641-649; Stats. 1976, ch. 952, pp. 2177-2180.) This legislation provides that persons convicted of certain marijuana-related offenses and who have served their sentences and persons arrested for certain marijuana-related offenses may not be further penalized on account of their marijuana convictions or arrests. The principal issue presented in this case is whether the benefits afforded by this legislation are applicable to a person convicted of maintaining a place for the use or sale of a narcotic (Health & Saf. Code, § 11366, formerly Health & Saf. Code, § 11557) when that person’s conviction was stipulated or designated to be a lesser included offense of the offense of possession of marijuana.
Parties
Plaintiffs and appellants herein are Rachel Hooper and John Doe. It is alleged in the complaint that John Doe is a resident of the City of Oakland and is proceeding under an anonymous name. John Doe is suing on his own behalf and on behalf of all others similarly situated. John Doe “represents the class of all individuals who, prior to 1969, had been convicted of maintaining a place for the sale or use of a narcotic when said offense was designated as or stipulated to be, a lesser included offense of possession of marijuana.” It is alleged in the complaint that Rachel Hooper is a resident of the County of Alameda and is a taxpayer of the State of California.
The complaint names as defendants George Deukmejian, the California State Personnel Board (hereafter referred to as the Board) and the individual members of the Board. It is alleged that Deukmejian is the Attorney General of the State of California and the Chief of the California Department of Justice. Deukmejian is responsible for the collection, storage, dissemination, destruction and obliteration of “state summary criminal history information” (hereafter referred to as arrest record) (Ren. Code, § 11105.). It is further alleged that the Board, a state agency, and its members are charged with “administering the *994 California Civil Service Act and regulations promulgated thereunder including those governing the application procedures and information to be supplied by individuals desiring to work under the California Civil Service System.”
Rules Pertaining to Our Review
A trial court abuses its discretion in sustaining a demurrer
without
leave to amend, if there is a reasonable possibility that a defect in the complaint can be cured by amendment or if the pleading can be liberally construed to state a cause of action.
(Minsky
v.
City of Los Angeles
(1974)
Allegations Contained in the Complaint
1. First Cause of Action.
John Doe alleges in November of 1967 he was arrested in San Diego because he was in possession of four marijuana cigarettes. Subsequently, an information was filed charging Doe with possession of marijuana, a felony (former Health & Saf. Code, § 11530). Doe entered a plea of not guilty. On April 29, 1968, Doe withdrew his plea of not guilty to the possession of marijuana charge and entered a plea of guilty to a violation of former Health and Safety Code section 11557 (opening or maintaining any place for the selling, giving away or using of a narcotic). It was adjudicated that the violation of former Health and Safety Code section 11557 was a misdemeanor, and the violation “was designated as, and stipulated to be, a lesser included offense to the charge of possession of marijuana.” Doe was placed on probation which he satisfactorily completed in 1970 and in August of 1970 Doe’s conviction was set aside pursuant to Penal Code section 1203.4.
The sole reason for Doe’s withdrawal of his plea of not guilty to the possession of marijuana charge and the entry and acceptance of his guilty plea to a violation of former Health and Safety Code section 11557 and the stipulation and designation of said offense as a lesser included offense of possession of marijuana, was to afford the court the option of sentencing Doe as a misdemeanant. Doe did not violate former Health and Safety Code section 11557.
Between 1965 and the end of 1968 more than 90,000 individuals were arrested for felony marijuana offenses. Plaintiffs are informed and believe that during this period approximately 1,500 individuals entered guilty pleas to violating former Health and Safety Code section 11557 after being charged with possession of marijuana.
At the time Doe was arrested and convicted the punishment for possession of marijuana was imprisonment in state prison for one to ten years. “The only method at that time by which a court could classify and punish a defendant charged with possession of marijuana as a nar *996 cotics misdemeanant was by means of a defendant’s plea to some lesser offense, such as maintaining a place where narcotics are used, which was then classified as a misdemeanor.”
In 1972 Doe applied for a position as. a janitor with a governmental agency. Doe was initially notified by the agency that he had passed the relevant examination for the position and that his name hád been placed on the eligible list for the position. Subsequently the agency disqualified Doe from employment solely on the basis of his conviction for a violation of former Health and Safety Code section 11557.
The policy of the Board is to require the disclosure of and to consider convictions of former Health and Safety Code section 11557 which were stipulated to be lesser included offenses of possession of marijuana. The employment application form used by the Board asks: “‘Have you ever been convicted by any court of an offense? The following need not be reported: ... Any conviction specified in Health and Safety Code section 11361.5. This section pertains to various marijuana offenses.’” Doe and members of the class wish to apply to the Board and other employers but do not wish to disclose their convictions or have their convictions considered in evaluating them for employment.
Deukmejian maintains and disseminates an arrest record which contains the entry that Doe was convicted of former Health and Safety Code section 11557 which was designated as and stipulated to be a lesser included offense of possession of marijuana. Doe requested Deukmejian to destroy or obliterate records of his conviction of former section 11557 and Deukmejian refused to do so. Deukmejian has adopted a policy pursuant to which he will not obliterate or destroy records of convictions of former section 11557 which were stipulated to be lesser included offenses of possession of marijuana.
v Doe and members of his class have no adequate legal remedy at law and therefore seek injunctive relief against defendants.
2. Second Cause of Action.
In the second cause of action plaintiff Rachel Hooper alleges she is a resident of the County of Alameda and a taxpayer of the State of California. The second cause of action incorporates by reference the allegations of the first cause of action.
*997 Hooper alleges that Deukmejian, the Board, its members and their agents have either permitted or authorized the reimbursement or expenditure of public money and time in enforcing and applying their alleged respective policies. This expenditure of public time and money is illegal and unconstitutional. Hooper alleges that unless defendants are enjoined and restrained, the expenditure of public time and money will waste state funds in an amount difficult to ascertain and impossible to recover and will therefore injure Hooper and other taxpayers in a manner not susceptible to redress by pecuniary compensation.
3. Third Cause of Action.
In the third cause of action, plaintiffs reallege the allegations of the first and second causes of action. Plaintiffs state that an actual controversy exists between plaintiffs and defendants in that plaintiffs contend that the alleged policies of defendants are unconstitutional and void and defendants maintain that their alleged policies are constitutional and valid. Plaintiffs state that they desire a judicial determination of their rights and duties and a declaration as to whether their interpretations of the validity of defendants’ policies are correct.
The Demurrer
Defendants demurred to each of the three causes of action alleged in the complaint on the ground that plaintiffs failed to state facts sufficient to constitute a cause of action. Defendants demurred to the first and second causes of action alleged in the complaint on the ground that the trial court had no jurisdiction over any of the claims of plaintiffs for an injunction as “this Court has no jurisdiction to order state officials to destroy state summary criminal history records and as this Court has no jurisdiction to enjoin state officials from acting pursuant to applicable and valid state statutory provisions.”
Statutory Scheme
In order to place the allegations of the complaint and the grounds for the demurrer in perspective, it is useful at the outset tó outline some of the more pertinent statutory provisions.
1. Marijuana Reform Legislation.
In 1975 and 1976, the Legislature enacted legislation which substantially modified previous California law with respect to the treatment of
*998
marijuana offenses and offenders.
(People
v.
Boyd
(1979)
Subdivision (b) of section 11361.5 of the Health and Safety Code 1 provides that the Department of Justice shall upon sufficient application destroy “records of conviction and arrests not followed by conviction occurring prior to January 1, 1976, for any of the following offenses: [H] (1) Any violation of Section 11357 [possession of marijuana] or a statutory predecessor thereof. [11] (2) Unlawful possession of a device, contrivance, instrument or paraphernalia used for unlawfully smoking marijuana, in violation of Section 11364, as it existed prior to January 1, 1976, or a statutory predecessor thereof. [If] (3) Unlawful visitation or presence in a room or place in which marijuana is being unlawfully smoked or used, in violation of Section 11365, as it existed prior to January 1, 1976, or a statutory predecessor thereof. [1Í] (4) Unlawfully using or being under the influence of marijuana, in violation of Section 11550, as it existed prior to January 1, 1976, or a statutory predecessor thereof.”
Subdivision (a) of section 11361.7 declares in relevant part that “Any record subject to destruction or permanent obliteration pursuant to Section 11361.5, or more than two years of age, or a record of a conviction for an offense specified in subdivision (a) or (b) of Section 11361.5 which became final more than two years previously, shall not be considered to be accurate, relevant, timely, or complete for any purposes by any agency or person.”
Subdivision (b) of section 11361.7 provides in essence that no public agency shall deny, revoke, or condition any license, privilege, or right because of an arrest or conviction of any offense specified in subdivision (a) or (b) of section 11361.5.
Subdivision (c) of section 11361.7 provides: “Any person arrested or convicted for an offense specified in subdivision (a) or (b) of Section 11361.5 may, two years from the date of such a conviction, or from the *999 date of the arrest if there was no conviction, indicate in response to any question concerning his prior criminal record that he was not arrested or convicted for such offense.”
Subdivision (d) of section 11361.7 provides: “The provisions of this section shall be applicable without regard to whether destruction or obliteration of records has actually been implemented pursuant to Section 11361.5.”
Labor Code section 432.8 prohibits a public or private employer from inquiring about or considering a record of conviction “for violation of subdivision (b) or (c) of Section 11357 of the Health and Safety Code or a statutory predecessor thereof, or subdivision (c) of Section 11360 of the Health and Safety Code, or Section 11364, 11365, or 11550 of the Health and Safety Code as they related to marijuana prior to January 1, 1976, or a statutory predecessor thereof, two years from the date of such a conviction.”
In summary the marijuana reform legislation (1) mandates the destruction of records of certain marijuana-related convictions and arrests (Health & Saf. Code, § 11361.5, subds. (a) and (b)); (2) renders the records untimely and irrelevant (Health & Saf. Code, § 11361.7, subd. (a)); (3) prohibits governmental agencies from considering such records (Health & Saf. Code, § 11361.7, subd. (b)); (4) prohibits a public or private employer from inquiring about or considering such records (Lab. Code, § 432.8); and (5) allows an individual to state he was not arrested or convicted in response to inquiries concerning such a record (Health & Saf. Code, § 11361.7, subd. (c)).
2. Former Health and Safety Code Section 11557 (Currently Health and Safety Code Section 11366).
At the time of plaintiff Doe’s conviction former Health and Safety Code section 11557 provided: “Every person who opens or maintains any place for the purpose of unlawfully selling, giving away or using any narcotic shall be punished by imprisonment in the county jail for not more than one year, or in the state prison for not more than 10 years. [If] If such a person has been previously convicted of any offense described in this division or has been previously convicted of any offense under the laws of any other state or of the United States which if committed in this State would have been punishable as an offense described in this division, the previous conviction shall be charged in the indict *1000 ment or information and if found to be true by the jury, upon a jury trial, or if found to be true by the court, upon a court trial, or is admitted by the defendant, he shall be imprisoned in the state prison for not less than two years nor more than 20 years.” (Stats. 1959, ch. 1112, § 11, p. 3196.)
Former Health and Safety Code section 11557 is a statutory predecessor of Health and Safety Code section 11366. Section 11366 provides: “Every person who opens or maintains any place for the purpose of unlawfully selling, giving away, or using any controlled substance which is (1) specified in subdivision (b) or (c) of Section 11054, specified in paragraph (10), (11), (12), or (17) of subdivision (d) of Section 11054, or specified in subdivision (b) or (c) of Section 11055, or (2) which is a narcotic drug classified in Schedule III, IV or V, shall be punished by imprisonment in the county jail for a period of not more than one year or the state prison.” Marijuana is specified as a controlled substance in paragraph (10) of subdivision (d) of section 11054 of the Health and Safety Code. Rather than set out all the controlled substances and narcotic drugs which are covered by Health and Safety Code section 11366, it is sufficient for our purposes to note that they range from heroin to marijuana.
Issues Presented and Summary
As stated at the outset, the principal issue presented by this case is whether the substantial benefits afforded by the marijuana reform legislation are applicable to an individual charged with possession of marijuana but who entered a plea of guilty to a violation of former Health and Safety Code section 11557 and the violation of section 11557 was stipulated or designated to be a lesser included offense of the offense of possession of marijuana. In order to resolve this issue, we next consider the parties’ respective contentions.
1. Plaintiffs’ Position.
Plaintiffs assert that the language of the reform legislation is sufficiently broad, given the purpose of the legislation and the serious constitutional questions presented, to encompass former Health and Safety Code section 11557 convictions which were designated or stipulated to be lesser included offenses of possession of marijuana. Plaintiffs contend that if the marijuana reform legislation cannot be read in such a broad manner, the California and federal constitutional guarantees of *1001 equal protection, privacy and due process mandate that the benefits of the legislation be extended to plaintiff Doe and the members of the class he represents. Plaintiffs claim since the California and United States Constitutions require that they be afforded the benefits of the marijuana reform legislation, defendants’ policies of denying plaintiffs such benefits are unconstitutional and void.
It should be noted that plaintiffs do not contend that all individuals convicted of violating former Health and Safety Code section 11557 are entitled to the benefits of the marijuana reform legislation; rather plaintiffs’ contentions are limited to whether the benefits of the legislation are applicable to an individual who was convicted of violating former section 11557 after entering a plea of guilty and the 11557 violation was stipulated or designated to be a lesser included offense of possession of marijuana.
2. Defendants’ Position.
Defendants assert that the complaint is deficient in the following particulars: (1) the failure to allege any conduct whatsoever by defendant Board with respect to plaintiff Doe and the members of the class which he represents; (2) the failure to establish the standing of plaintiff Hooper; and (3) the failure to establish the jurisdictional authority of the court to grant injunctive relief against defendant Deukmejian.
Further, defendants claim even if the deficiencies in the complaint mentioned above were not present, plaintiffs have failed to state a cause of action. Defendants point out that in
People
v.
West
(1970)
Defendants assert that there is no allegation in the complaint that Doe’s arrest record maintained by defendant Deukmejian contains the stipulation that Doe’s conviction of former section 11557 was to be treated as a lesser included offense of the possession of marijuana. Accordingly, defendants reason that not only does the court not have jurisdiction to direct defendant Deukmejian to destroy Doe’s records, but there is also no sufficient factual basis for such a remedy. Defendants claim that defendant Deukmejian does not have the authority to look behind a conviction.
In regard to plaintiffs’ claim against the Board and its members, defendants assert “there is no allegation that the [defendant] Board or its members has denied plaintiff Doe or any other persons employment because of a conviction under former section 11557 which was stipulated to be a lesser included offense of possession of marijuana. The application form provided by the Board affords an applicant an opportunity to explain any such circumstance occasioning such a violation. The conclusionary allegation that the Board considers such an offense could mean nothing more than that the Board looks at the application form and then disregards the offense.”
The Language of the Marijuana Reform Legislation as Applied to Doe and Members of the Class He Represents
Plaintiffs contend that although the marijuana reform legislation does not expressly refer to “lesser included marijuana offenses its language is sufficiently broad, after application of relevant rules of statutory construction, to encompass such offenses.” Plaintiffs assert that the following language (and particularly the italicized words) from subdivision (b) of section 11361.5 supports their contention: “This subdivision shall be applicable only to records of convictions and arrests not followed by conviction occurring prior to January 1, 1976, for any of the following offenses: [11] (1) Any violation of Section 11357 [possession of marijuana] or a statutory predecessor thereof.” (Italics added.) Plaintiffs reason that the italicized words can be read to encompass lesser included offenses. Plaintiffs’ next premise is that lesser included offenses also encompass offenses that were stipulated to be *1003 lesser included offenses although not technically regarded as lesser included offenses. Plaintiffs assert that their interpretation is supported by the legislative purpose in enacting the marijuana reform legislation. Defendants, on the other hand, assert that this court should not indulge in statutory construction because the statutory language contained in the marijuana reform legislation is clear and unambiguous.
In resolving this issue we must look to the rules pertaining to statutory construction. The principal rule has been stated by the California Supreme Court as follows: “When statutory language is thus clear and unambiguous there is no need for construction, and courts should not indulge in it.”
(Solberg
v.
Superior Court
(1977)
Two other rules of statutory construction must be considered in resolving this issue. First, where a statute is theoretically capable of more than one construction, the “‘legislation should be construed, if reasonably possible, to preserve its constitutionality . . .’ and thus avoids the constitutional issue inherent in a contrary construction.”
(Department of Corrections
v.
Workers’ Comp. Appeals Bd.
(1979)
The marijuana reform legislation applies to
“Any violation
of section 11357 [possession of marijuana] or a statutory predecessor thereof.”
*1004
(Health & Saf. Code, § 11361.5, subd. (b)(1), italics added.) Plaintiffs state: “‘Any’ is ordinarily defined as ‘some; one out of many ... and is given the full force of “every” and “all.”’ Black’s Law Dictionary.” Plaintiffs do not dispute that a violation of former Health and Safety Code section 11557 (or its successor, § 11366) “is not an offense necessarily included in a violation of [former] section 11530 (possession of marijuana).”
(People
v.
West, supra,
The California Supreme Court has discussed on at least two occasions the purpose of the marijuana reform legislation. “This comprehensive reform legislation represented a conscious and substantial modification of California’s past public policy which frequently equated marijuana offenses with much more serious drug offenses.”
(Governing Board
v.
Mann, supra,
Given the purpose of the marijuana reform legislation, the construction proposed by plaintiffs has appeal. Plaintiff Doe and the members of the class he represents were arrested, charged and convicted on account of the same “relatively minor form of criminal activity” toward which the marijuana reform legislation is directed. It could be said to construe the legislation to deny plaintiffs the benefit of the legislation merely because they entered a plea to a similar offense so they could be sentenced as a misdemeanant would frustrate the purpose of the legislation. The following comments of the California Supreme Court lend support to plaintiffs’ position: “The present case illustrates this use of plea bargaining to achieve a more just result. As of May 7, 1968, when defendant entered his plea, the punishment for possession of marijuana in the absence of an allegation of a prior narcotic offense was imprisonment in the state prison for one to ten years. (Stats. 1961, ch. 274, § 7.) Because of widespread public criticism of the undue harshness of this mandatory treatment of possession of marijuana as a felony, the Legislature on August 24, 1968, amended section 11530 to permit the court to hold that a violation of that section constituted a felony-misdemeanor (Stats. 1968, ch. 1465, § 1). In
People
v.
Francis
(1969)
It could also be said that to deny plaintiffs the benefits of the marijuana reform legislation causes an absurd result. Plaintiffs entered a plea to violating former Health and Safety Code section 11557 in order “to achieve a more just result”—to avoid “the undue harshness of [the] mandatory treatment of possession of marijuana as a felony.” The marijuana reform legislation was enacted for the same reason. Plaintiffs engaged in criminal conduct that is covered by the legislation, but because they entered a plea to a similar offense so a lesser punishment could be imposed, defendants state the legislation clearly does not apply to plaintiffs.
*1006 Two of the above-mentioned statutory construction rules support plaintiffs construction of the legislation. First, a statute should be construed, if possible, to preserve its constitutionality. Second, a remedial statute should be liberally construed so as to extend the remedy.
Conversely, the
principal rule
of statutory construction admonishing against judicial construction of “clear and unambiguous” statutes
Solbergv. Superior Court, supra,
However, this court can uphold defendants’ assertion that the Legislature excluded plaintiff Doe and members of the class he represents from the benefits of the statutory scheme at issue only if we find that exclusion to be constitutional. We now proceed to determine whether defendants’ position will pass constitutional muster.
Equal Protection
Plaintiffs assert that even if the language of the marijuana reform legislation is not broad enough to include an offense that was stipulated to be a lesser included offense of possession of marijuana, the California and United States constitutional guarantee of equal protection of the law mandates that the benefits of the marijuana reform legislation be extended to plaintiff Doe and the members of the class he represents. Plaintiffs contend that there is no compelling state interest or rational basis for denying plaintiff Doe and the members of the class he represents the benefits of the marijuana reform legislation.
*1007 Plaintiffs claim that defendants’ policies regarding an interpretation of the marijuana reform legislation create “several distinct levels of classification or discrimination. First, with respect to the period prior to 1969 the policy divides individuals who were charged with felony possession of marijuana into two groups”: (1) Individuals who were convicted of felony possession of marijuana, even if subsequently incarcerated in a state prison, are afforded the benefits of the marijuana reform legislation; (2) individuals, such as plaintiff Doe and members of the class he represents, who were charged with felony possession of marijuana but who were convicted of a lesser offense that was stipulated to be a lesser included offense of possession of marijuana (but which is not by legal definition considered to be a lesser included offense), are denied the benefits of the marijuana reform legislation.
Plaintiffs further contend that defendants’ interpretation of the legislation draws a distinction between individuals convicted of an offense because of marijuana-related activity prior to 1969 and individuals convicted after 1969. In August of 1968 the Legislature amended former section 11530 of the Health and Safety Code (possession of marijuana) to provide that a violation of section 11530 could be treated as a misdemeanor. (Stats. 1968, ch. 1465, § 1, pp. 2930-2931.) This amendment became effective on November 13, 1968. For the sake of convenience we will use 1969 as the “dividing line” but we assume that plaintiffs are referring to the effective date of the above-mentioned amendment to former section 11530. Plaintiffs point out that (1) individuals charged with felony possession of marijuana prior to 1969 and who entered a plea to a violation of former Health and Safety Code section 11557 in order to be sentenced as a misdemeanant, are not entitled to the benefits of the marijuana reform legislation; but (2) individuals charged with possession of marijuana after 1969 can be convicted of a misdemeanor violation of possession of marijuana and are entitled to the benefits of the legislation.
Plaintiffs set out the following examples to illustrate their position: “1. Doe is arrested for felony possession [of marijuana] in 1968 but allowed to plead guilty [to a violation of former section 11557] which is designated a misdemeanor;
“2. Doe is arrested for felony possession [of marijuana] in 1968, convicted of that offense, and incarcerated in state prison;
*1008 “3. Doe is arrested in January of 1975 for possession of marijuana and . . . allowed to plead to misdemeanor possession;
“4. Doe is arrested in January of 1975 for possession of marijuana, convicted of felony possession of marijuana, and incarcerated in state prison.”
Plaintiffs assert that under defendants’ interpretation of and policies regarding the marijuana reform legislation, the only person denied the benefits of the legislation is “Doe” in the first example.
“[Q]nce the Legislature has determined to afford judicial relief to a class of persons, the limitation is invalid unless there is a rational basis [or a compelling state interest] for denying the right to seek relief to persons not in the described class.”
(McMahon
v.
Municipal Court
(1970)
Before deciding whether or not the marijuana reform legislation violates the equal protection clauses of the United States and California Constitutions, we must look at the tests employed in reviewing legislative classification.
(D’Amico
v.
Board of Medical Examiners
(1974)
In
People
v.
Ryser, supra,
In
Newland,
the California Supreme Court found that the classification created by Education Code section 13220.16 and Penal Code section 4852.01 denied plaintiff equal protection of the law under the “restrained” rational basis standard for review and therefore found it
*1010
unnecessary to decide whether the classification was subject to the strict scrutiny standard of review.
(Newland
v.
Board of Governors, supra,
We will now “conduct ‘a serious and genuine judicial inquiry into the correspondence between the classification and the legislative goals’....”
(Newland
v.
Board of Governors, supra,
Defendants argue that the classifications created by the marijuana reform legislation are rationally related to a legitimate state interest. Defendants assert that individuals who were convicted of violating former section 11557 can constitutionally be denied the benefits of the marijuana reform legislation because “a violation [of former § 11557] can include opening or maintaining a place wherein any number of hazardous drugs are sold, used, or given away .... A violation can include the operation of a large scale illicit drugstore or distribution center. In short, a violation can include situations involving serious criminal conduct which pose serious risks to the health and safety of others.” Defendants, therefore, conclude that a conviction of violating former section 11557 “could have a clear relationship to the fitness of the applicant for employment.” This argument overlooks the simple fact that pldintijf Doe does not represent all individuals convicted of violating former section 11557, but only those individuals whose conviction of former section 11557 was stipulated to be a lesser included offense of *1011 possession of marijuana. If plaintiff Doe represented all individuals convicted of violating former section 11557, defendants’ argument might have merit. 2
Defendant Deukmejian asserts that there is no allegation in the complaint that the arrest records of plaintiff Doe and the members of the class he represents, which the Department of Justice maintains (Pen. Code, § 11105), contain the stipulation that their violations of former section 11557 was to be regarded as a lesser included offense of possession of marijuana. Defendant Deukmejian contends that without this allegation, plaintiffs have failed to state a cause of action against him because the marijuana reform legislation “does not provide that the Department of Justice may redetermine the offense of which the subject was actually guilty. Moreover, had the Legislature so provided or had the Department of Justice assumed such a function, it would be a clear and obvious impingement upon the judicial powers and a violation of the state constitutional provisions on the separation of powers.”
First, defendant Deukmejian did not object in the trial court that the complaint was insufficient without such an allegation. If defendant Deukmejian had objected on this ground, plaintiffs might have elected to amend the complaint. At the outset of this opinion we stated we are only required to resolve ambiguities and uncertainties against plaintiffs that were raised by the demurrer. (Ante, p. 994.) Furthermore, the following allegation appears in the complaint: “Defendant Deukmejian maintains and disseminates an arrest record containing entries that Doe has been convicted of a lesser included marijuana offense.” “Lesser included marijuana offense” is defined in the complaint as “all criminal convictions for maintaining a place for the sale or use of a narcotic which are designated as or stipulated to be, a lesser included offense of possession of marijuana.” It therefore appears that the complaint does allege, although ambiguously, that the arrest records maintained by defendant Deukmejian contain the stipulation that the violation of former section 11557 is to be regarded as a lesser included offense of possession of marijuana.
*1012
Moreover, there is no constitutional bar to prevent the Department of Justice from determining upon proper application if an individual’s conviction of former section 11557 was stipulated to be a lesser included offense of possession of marijuana. The doctrine of the separation of powers “‘although enshrined in the Constitution and fundamental to the preservation of our civil liberties, “does not mean that the three departments of our government are not in many respects mutually dependent.”’ [Citations.] This court has often recognized that each department of government ‘for its own existence must in some degree exercise some of the functions of the others.’ [Citation.] The purpose of the doctrine is to prevent one branch of government from exercising the
complete
power constitutionally vested in another [citation]; it is not intended to prohibit one branch from taking action properly within its sphere that has the
incidental
effect of duplicating a function or procedure delegated to another branch.”
(Younger
v.
Superior Court, supra,
Under the marijuana reform legislation the Department of Justice is under a duty to process applications for destruction of arrest records. The Department of Justice is required to destroy arrest records of individuals who come within the terms of the legislation. In order to perform this duty the Department of Justice must look behind some convictions to determine if the convictions are marijuana related—the same “function” defendant Deukmejian asserts constitutes a bar to granting relief to plaintiff Doe and the members of the class he represents. As noted earlier the marijuana reform legislation is applicable to “(2) Unlawful possession of a device, contrivance, instrument or paraphernalia used for unlawfully smoking marijuana, in violation of Section 11364, as it existed prior to January 1, 1976, or a statutory predecessor thereof. [If] (3) Unlawful visitation or presence in a room or place in which marijuana is being unlawfully smoked or used, in violation of Section 11365, as it existed prior to January 1, 1976, or a *1013 statutory predecessor thereof.” (Health & Saf. Code, § 11361.5, subd. (b).) Both section 11364 and section 11365 as they existed prior to January 1, 1976, prohibited conduct not only related to marijuana but conduct related to a large range of controlled substances and narcotics, but a violation of either of these Health and Safety Code sections is covered by the marijuana reform legislation only if the violation was related to marijuana. (Stats. 1973, ch. 1078, §§ 14 and 15, p. 2181.) Accordingly, although the marijuana reform legislation “does not provide that the Department of Justice may redetermine the offense of which the subject was actually guilty,” the Department of Justice must look behind some convictions to determine if they are covered by the marijuana reform legislation.
Therefore, this court has the power to require the Department of Justice to process the applications to destroy the arrest records of plaintiff Doe and the members of the class he represents if we determine that the exclusion of plaintiff Doe and the members of the class from the benefits of the legislation violates the doctrine of equal protection of the law. Such a requirement will not compel the Department of Justice to perform a function it is not already performing. Although the power to grant the remedy of obliteration or destruction of arrest records rests with the Legislature, once the Legislature has afforded such a remedy to a class of persons “‘a reviewing court may correct a discriminatory classification by invalidating the invidious exemption and thus extending statutory benefits to those whom the Legislature unconstitutionally excluded.’”
(Sykes
v.
Superior Court,
supra,
Defendant Board specifically contends that its policy of requiring disclosure on the application form of a violation of former section 11557 is supported by a legitimate state interest, because a violation of former section 11557 may have a bearing on the fitness of an applicant for employment since a “violation of former section 11557 could include a myriad of factual circumstances other than simple possession of marijuana.” Once again it is sufficient to note that this argument overlooks the simple fact that plaintiff does not represent all individuals convicted of violating former section 11557, but only those individuals whose conviction of former section 11557 was stipulated to be a lesser included *1014 offense of possession of marijuana. Accordingly, we are not concerned with “a myriad of factual circumstances other than simple possession of marijuana.”
Defendant Board contends further that plaintiffs’ conclusionary allegations that the “Board considers convictions which were stipulated to be lesser included offenses [of] possession of marijuana in no way demonstrates that the Board’s alleged policy violates equal protection.” Defendant Board asserts that there is no allegation in the complaint that it is the Board’s policy to deny employment based upon a conviction of former section 11557 which was stipulated to be a lesser included offense of possession of marijuana. Defendant Board states “Doe’s conclusionary assertion that the .. . Board considers violations] of former section 11557 which were stipulated to be lesser included offenses of possession of marijuana could be construed as alleging that the Board merely considers the offense and the explanation on the form and then disregards it in its employment determination.” Even if we accept this contention as a true statement of fact, the Board’s policy might still deny plaintiffs equal protection of the law. Individuals who are afforded the benefits of the marijuana reform legislation need not disclose on an application form that they were convicted or arrested for the marijuana offenses specifically listed in the legislation. Defendant Board has failed to set out any state interest, that has not already been considered, which justifies denying plaintiff Doe and the members of the class he represents the benefit of nondisclosure of their convictions which were stipulated to be lesser included offenses of possession of marijuana.
Finally, defendant Board asserts that there is a rational basis for excluding plaintiff Doe and the members of the class, because a departure from the statutory scheme as it presently stands would be unworkable “if neither the employer nor the applicant could know by virtue of [the] conviction offense whether it was or was not within the provisions” of the marijuana reform legislation. We fail to see how extending the benefits to individuals who were convicted of an offense not specifically covered by the marijuana reform legislation but which offense was stipulated to be an offense which is covered by the legislation, makes the statutory scheme unworkable or any more burdensome than it already is given the fact that it covers violations of Health and Safety Code sections 11364 and 11365, as they existed prior to January 1, 1976, only if the violations are related to marijuana. (See discussion ante, at pp. 1012-1013.)
*1015 Since defendants have advanced no rational basis for the classifications created by the marijuana reform legislation or pointed to any defect in the complaint which demonstrates that plaintiffs have not stated a cause of action, we must conclude that plaintiffs have stated a cause of action based upon denial of their right to equal protection of the law.
Right of Privacy
Plaintiffs contend that the policy of the Board requiring disclosure of a conviction of former section 11557 of the Health and Safety Code that was stipulated to be a lesser included offense of possession of marijuana and the policy of defendant Deukmejian of disseminating an arrest record which contains such a conviction violate their right of privacy.
Since we have determined that plaintiffs must be afforded the benefits of the marijuana reform legislation, it follows that the above-mentioned policies violate plaintiffs’ right of privacy. In
Central Valley Chap. 7th Step Foundation
v.
Younger
(1979)
Since we have determined that no rational basis has been advanced for excluding plaintiff Doe and the members of the class he represents from the marijuana reform legislation, plaintiffs have stated a cause of action based upon invasion of their right of privacy. 3
*1016 Standing
The Board argues that because there is no allegation in the complaint that plaintiff Doe “at any time applied for any position within the State civil service system,” Doe has failed to state any claim upon which relief can be granted against the Board.” The Board is in essence contending that plaintiff Doe has no standing to bring an action against it, because plaintiff Doe has failed to show that he has been injured by any alleged policy of the Board. 4
In
Teamsters
v.
United States
(1977)
“Neither of the parties at any time during these proceedings has raised any question regarding the use of injunction or declaratory relief
*1017
as a proper method of determining the constitutionality of the challenged ordinance. Either remedy is available for the purpose. When the enforcement of a law or ordinance would injure plaintiff’s rights, equity may enjoin the prosecution (see cases collected 27 Cal.Jur.2d, § 26, p. 133; see also
Porterfield
v.
Webb,
Plaintiffs alleged in the complaint that plaintiff Doe and members of the class he represents wish to seek employment with the Board and other employers but do not wish to reveal their convictions of former Health and Safety Code section 11557 nor have their convictions considered in evaluating them for employment. Plaintiffs further allege that the Board does consider such convictions in considering an applicant for employment. These allegations are sufficient to establish the standing of plaintiff Doe and members of the class to bring the instant action against the Board. Plaintiffs are not required to surrender their constitutional rights by filing applications with the Board in order to establish their standing.
(Central Valley Chap. 7th Step Foundation
v.
Younger, supra,
Jurisdiction of Court
Defendants contend because there is no statute granting a court jurisdiction to order defendant Deukmejian “to destroy records of conviction, a court is without jurisdiction to issue such an order.” This
*1018
contention is totally without merit. Defendants rely upon
Younger
v.
Superior Court, supra,
Prior to January 1, 1977, the marijuana reform legislation authorized destruction of arrest records by court order; effective January 1, 1977, the destruction of such records was by order of the Department of Justice upon application of the person affected.
(Id.,
at p. 108.) In
Younger,
the Attorney General contended that the marijuana reform legislation before it was amended violated the doctrine of the separation of powers. The California Supreme Court refused to reach this issue “because of the well settled rule that an action wholly dependent on statute abates if the statute is repealed without a saving clause before the judgment is final.”
(Id.,
at p. 109.) In
Younger,
the court stated that the power to grant or withhold such a remedy rests exclusively with the Legislature, and the amendment to the marijuana reform legislation removed jurisdiction from the court to consider applications to destroy arrest records. Although the amendment to the marijuana reform legislation removed from the courts the jurisdiction to consider initial requests for destruction of arrest records, it did not remove the jurisdiction of a court to “‘correct a discriminatory classification by invalidating the invidious exemption and thus extending statutory benefits to those whom the Legislature unconstitutionally excluded.’” (Sy
kes
v.
Superior Court, supra, 9
Cal.3d 83, 92.) Moreover, the relief granted by the California Supreme Court in
Younger
is totally inconsistent with the argument advanced by defendants—the court in
Younger
directed that a writ of mandate issue requiring the Attorney General to accept and act upon an individual’s request for destruction of arrest records.
(Younger
v.
Superior Court, supra,
Taxpayer Cause of Action
Defendants contend that plaintiff Hooper has no standing to bring an action against defendants under Code of Civil Procedure section 526a as a taxpayer. We considered and rejected this same contention in
Central Valley Chap. 7th Step Foundation
v.
Younger, supra,
“Respondents’ contention must be rejected. In
Serrano
v.
Priest, supra,
[1971]
Declaratory Relief
Defendants argue that plaintiffs are not entitled to declaratory relief because (1) they failed to allege that plaintiff Doe has ever applied for employment with the Board; (2) a court is without jurisdiction to consider any matter raised concerning the marijuana reform legislation because the Legislature granted the authority to destroy arrest records to the Department of Justice; and (3) plaintiff Hooper has not stated a cause of action. Since all of the contentions advanced by defendants to support the argument that declaratory relief is not proper have been addressed earlier, we do not feel the need to discuss them again.
We conclude that plaintiffs have stated a cause of action against defendants based upon violations of their right to equal protection of the law and their right to privacy.
*1020 The judgment is reversed.
Feinberg, J., and Barry-Deal, J., concurred.
A petition for a rehearing was denied September 25, 1981, and respondents’ petition for a hearing by the Supreme Court was denied October 21, 1981.
Notes
The provisions of subdivision (a) of section 11361.5 of the Health and Safety Code are not pertinent to the instant case. Subdivision (a) provides for the automatic destruction of records of arrests and convictions of certain marijuana-related offenses occurring after January 1, 1976.
In Newland, the California Supreme Court considered a remedial statute which granted relief to felons but denied the relief to misdemeanants. The court concluded that the classification created by the particular statutes under consideration denied misdemeanants equal protection of the law. The marijuana reform legislation grants benefits to certain felons. A violation of former section 11557 could be treated as a misdemeanor. However, all misdemeanants are not denied benefits under the marijuana reform legislation.
Plaintiffs contend that the policy of the Board in considering a violation of former section 11557 of the Health and Safety Code that was stipulated to be a lesser included offense of possession of marijuana in evaluating an applicant for employment violates the state and federal, constitutional guarantees of due process of law, because “exclusion *1016 of an individual from employment on the basis of a conviction is only warranted when there is ‘a substantial or rational connection between the committed offense and the particular occupation.’” Defendants contend that there is no factual allegation upon which to premise such a contention. Defendants state there is “no allegation in the complaint that the respondent Board has denied appellant Doe employment because of a conviction of former section 11557 which was stipulated to be a lesser included offense of possession of marijuana or that it is the Board’s policy to deny employment because of such an offense.” In light of our above conclusions that plaintiffs have stated a cause of action because of their exclusion from the benefits of the marijuana reform legislation, it is unnecessary to resolve this particular issue. However, we note that defendants raised this same objection to the complaint in their demurrer. As we stated earlier when the trial court sustains a demurrer with leave to amend and the plaintiff elects not to do so, we must resolve all ambiguities and uncertainties raised by the demurrer against the plaintiff.
This contention also applies to the members of the class that plaintiff represents.
