In this action plaintiffs challenge the validity of Stats. Fourth Extra Session 1940, page 362, and Stats. 1941, page 3036, which added sections 2540.3, 2540.4, 2540.5 and 2540.9 to the Elections Code. Plaintiffs are the Communist Party of the United States and three individual members thereof. The right of a political party to maintain an action in this state in its own name is no longer open to question.
(Independence League
v.
Taylor,
We find no error in the trial court’s ruling as to the first two causes of action. Under Code of Civil Procedure, section 1061, the court may refuse in its discretion to grant the relief sought in an action for a declaratory judgment. It appears from the face of the pleading that a speedy and adequate remedy for this purpose is provided by Elections Code, section 2900. Under such circumstances it cannot be said that the trial court abused its discretion in refusing to grant declaratory relief. (See Borehard, Declaratory Judgments (1941), p. 357, et seq.) Neither can the court’s order sustaining general demurrers to the petition for a writ of mandate be challenged successfully. Plaintiffs sought in their petition to compel the performance of future acts which, it was alleged, the defendants would refuse to perform when performance became due. Mandamus will not lie to compel the performance of future acts, and for that reason the general demurrers tо the petition for the writ were properly sustained.
(McGinnis
v.
City of San Jose,
In their third cause of action, however, plaintiffs sought to set forth facts entitling them to relief under Elections Code, section 2900. That section provides: “Whenever it is made to appear by affidavit to the Supreme Court, District Courts of Appeal, or superior court of the proper county that an error or omission has occurred or is about to occur in the placing of any name on, or in the printing of, an official primary election ballot, or that any wrongful act has been or is about to be done by any person charged with any duty concerning the primary election, or that any neglect of duty has occurred or is about to occur, such court shall order the officer or person charged with such error, wrong or neglect forthwith to correct the error, desist from the wrongful act or perform the duty, or show cause why he should not do so. Any person who fails to obey the order of such court shall be cited to show cause why he is not in contempt of court.” By affidavits of the individual plaintiffs Whitney, Yates and Perry it is alleged that an error or omission is about to occur in the placing of a name on an official primary ballot and that a wrongful act and neglect of duty is about to occur on the part of persons charged with a duty concern *541 ing a primary election. Defendants interposed general demurrers to this cause of action which were sustained by the trial court. Plaintiffs allege that the Communist Party and the individual plaintiffs will be denied the right to participate in the primary election of August, 1942, and that defendants have declared their intention to refuse to take any steps to qualify the Communist Party and its nominees for a place on the ballot at the primary election. This refusal, it is said, is made in reliance upon the provisions of Elections Code, sections 2540.3, 2540.4, 2540.5 and 2540.9. On appeal plaintiffs argue that these sections of the Elections Code are unconstitutional, and for that reason urge that the conduct of defendants will result in an error, omission or neglect of duty in connection with the primary election under the statutory provisions which are controlling. The question of the constitutionality of the challenged sections of the Elections Code is thus directly presented for consideration by this court.
The statutory provisions which are involved upon this appeal read as follows:
Elections Code, section 2540.3 (added by Stats. Fourth Ex. Sess. 1940, p. 362, §1). “Notwithstanding any other provisions of this code, no pаrty shall be recognized or qualified to participate in any primary election which uses or adopts as any part of its party designation the word ‘communist’ or any derivative of the word ‘communist.’ ”
Elections Code, section 2540.4 (added by Stats. Fourth Ex. Sess. 1940, p. 362, § 2). “Notwithstanding any other provisions of this code, no party shall be recognized or qualified to participate in any primary election which is directly or indirectly affiliated, by any means whatsoever, with the Communist Party of the United States, the Third Communist International, or any other foreign agency, political party, organization or government or which either directly or indirectly carries on, advocates, teaches, justifies, aids, or abets the overthrow by any unlawful means of, or which directly or indirectly carries on, advocates, teaches, justifies, aids or abets a program of sabotage, force and violence, sedition or treason against, the Government of the United States or of this State. ’ ’
Elections Code, section 2540.5 (added by Stats. 1941, p. 3036). “Notwithstanding the provisions of section 2540, no party shall be qualified to participate in any primary election unless it appears to the Secretary of State, as a result of *542 examining and totaling the statements of registration of voters and their political affiliations transmitted to him by the county clerics 25 days prior to the last preceding primary election, that not less than 2,500 voters declared their intention of affiliating with that party.”
Elections Code, section 2540.9 (added by Stats. Fourth Ex. Sess. 1940, p. 362, § 3). “The Secretary of State shall, with the advice and consent of the Attorney General, determine which parties are qualified to participate in any primary еlection. Such determination shall be subject to review by the courts in accordance with law.”
The statutes challenged in this action constitute an attempted sweeping legislative revision of the provisions which for many years have governed the right of a political party to participate in primary elections in this state. (Cf. Elections Code (1939), § 2540; Deering’s Gen. Laws 1937, Act 2256, § 1, subd. 9; Stats. 1913, p. 1379, § 1, subd. 9.) Before entering upon the task of examining the constitutionality of this legislation, it would be well to set forth briefly certain of the fundamental principles which must guide our deliberations.
First,
the right of suffrage, everywhere recognized as one of the fundamental attributes of our form of government, is guaranteed and secured by the Constitution of this state to all citizens who are within the requirements therein provided. (Const. of Cal., art. II, § 1;
Spier
v.
Baker,
Second,
although the Legislature’s power to pass laws . regulating the conduct of elections was conceded under Constitution, article XX, section 11
(cf. Bergevin
v.
Curtz,
Third,
the inability of the Legislature to infringe the citizen’s constitutional right of suffrage prior to 1900 meant that, in any situation where the party system was an integral part of the elective machinery, the Legislature could not deny to a particular political party the right to participate in a given decision.
(Britton
v.
Board of Commrs., supra; Eaton
v.
Brown,
Fourth,
since the adoption of article II, section
2y2
of the Constitution of California in 1900, the Legislature has had power to exclude both individual citizens and political parties from participation in primary elections upon certain conditions. That section of the Constitution provides: “The legislature shall have the power to enact laws . . . providing for the direct nomination of candidates for public office ... at elections to be known and designated as primary elections;
also to determine the tests and conditions upon which electors, political parties, or organizations of electors may participate in any such primary election. . .
.” (Italics added.) The purpose of this constitutional amendment was to give the Legislature a free hand in dealing with the evils which had fоrmerly been prevalent in primary elections, even to the extent of excluding parties and individuals from participation therein.
(Schostag
v.
Cator,
1. Act prohibiting use of word “communist.” (Elections Code, § 2540.3.)
In this section (Stats. Fourth Ex. Sess. 1940, p. 362, § 1) the Legislature provided that no party should be qualified to participate in any primary election “which uses or adopts as any part of its party designation the word ‘communist’ or any derivative of the word ‘communist.’ ” In considering the validity of this legislation the court may not interfere “if there is any theory upon which the provision might reasonably have been concluded by the legislature to be essential. ’ ’ (Heney v. Jordan, supra, p. 27.) We can, however, find no reasonable ground upon which such a restriction of the constitutional right of suffrage can be justified. For the first time, in enacting conditions for participation in primary elections, the Legislature has departed from the tests of numerical strength and party registration which hitherto have been adopted as reasonable measures for improving the operation *546 of the primary election as an instrument for expressing the desires of the individual voters. If we assume that the Legislature has power under the Constitution to deprive voters of their right of suffrage because of their political beliefs and assume, as argued by defendants, that the present statute proscribing any party designated by the word “communist” was designed to eliminate from the primary election those parties which advocate subversive doctrines, we cannot find that this statute has any reasonable relation to that purpose. The name adopted by a political party is frequently without any value in ascertaining the political beliefs of its adherents, and if the beliefs were pernicious, they would remain so despite a change in the name of the party. Reference to our own political history is sufficient to illustrate the utter impossibility of placing reliance upon the name currently used by a political party in so vital a matter as depriving it of a place on the primary ballot. Assuming for the moment, therefore, that the Legislature has power to deny the use of the primary election machinery to particular groups of dangerous citizens, it does not follow that it may do so by a statute which merely operates to deny to .such groups the use of a particular name. Such legislation is particularly unfortunate when made the basis for restricting so fundamental a right as that of free suffrage. The statute has no.'reasonable relation to the goal at which the. Legislature presúínedly aimed, and it must be held invalid as unreasonable.
It is suggested that the Legislature might properly forbid the use of a particular name by political parties if some evil or unlawful connotation applies to that name. In apparent recognition, of this theory defendants urge that this court can take judicial notice of the fact that the Communist Party advocates the overthrow of the government by force and violence. The doctrine of judicial notice was adopted as a judicial short-cut to avoid necessity for the formal introduction of evidence in certain eases where there is no real need for such evidence. Before a court will take judicial notice of any fact, however, that fact must be a matter of common and general knowledge, well established and authoritatively settled, not doubtful or uncertain. The test is whether sufficient notoriety attaches to the fact to make it proper to assume its existence without proof. (See discussion 10 Cal. Jur. 693.) As was pointed out in
Varcoe
v.
Lee,
Tested by these standards, the doctrine has no place in the present case. Not only do plaintiffs vigorously assert that the Communist Party does not advocate force and violence, but the decided cases have definitely demonstrated that the fact here alleged to exist is not the subject of judicial notice. In
State
v.
Reeves,
5 Wn. (2d) 637 [
None of the cases cited compels a contrary conclusion. Most, if not all, of the federal cases relied upon did not involve the question of judicial nоtice at all. They were cases involving reviews of determinations by the Department of Labor, which by law is vested with fact-finding power and whose determinations were predicated on evidence. These cases were so distinguished in the Reeves and Fierstein cases,
supra.
In the case of
In re Coon,
44 Cal. App. (2d) 531 [
Although not urged in the briefs, it was suggested at oral argument that the prohibition against use of the word " communist ’ ’ may be sustained because the statute can be said to contain an implied finding by the Legislature that the Communist Party advocates the forceful overthrow of the government. It is said that this implied legislative finding, even though on a controversial issue, is binding on the courts. To state the contention is to refute it. Aside from the fact that it is not the function of the Legislature to determine whether a statute declaring a general policy has been violated in a particular case, that being a judicial function, it is clear that a statute which purports to determine that a particular person or group has violated a general law is special in nature, and violates article IV, section 25, subdivision 11, of the Con *549 stitution, which provides: “The Legislature shall not pass local or special laws in any of the following enumerated cases. . . . Eleventh—Providing for conducting elections. ...”
We have no doubt that it is within the Legislature’s power to investigate elections and to determine that the public interest requires that any party advocating the forceful overthrow of government should be denied a place on the ballot. Neither have we any doubt that the finding of the Legislature that the problem requires restrictive legislation is conclusive on the courts. The Legislature, however, is without power to determine that a particular person or group has advocated the doctrine which violates the policy laid down in the statute. If the statute be interpreted to include the implied finding here in question, as contended by defendants, it would mean that the Legislature had determined that a special group had violated the general policy of the statute. Such legislation would clearly be unconstitutional. That this is so, can readily be demonstrated. For example, it is clearly within the power of the Legislature to determine as a fact that, in the public interest, all diseased cattle should be destroyed, but it is not within the legislative power to determine that John Smith’s cattle are diseased. So, while it was clearly within the legislative power to determine that, in the public interest, аny party advocating the forceful overthrow of the government of the United States should be denied a place on the ballot, it is not within the power of the Legislature to determine that the Communist Party advocates the doctrine in question. It is now too well settled to require extensive discussion that a law is special and unconstitutional if it confers particular privileges or imposes peculiar disabilities in the exercise of a common right upon a single person or group arbitrarily selected.
(City of Pasadena
v.
Stimson,
2. Act forbidding foreign affiliation or policy of violence. (Elections Code, § 2540.4.)
In this section of the Elections Code (added by Stats. Fourth Ex. Sess, 1940, p. 362, sec. 2) the Legislature sought *550 to deny participation in the primary elections to any political party affiliated with the Communist Party, the Third Communist International or any other foreign agency or political party. It also sought to deny participation to any party which advocates the overthrow of the government by unlawful means or carries on a program of sabotage or force and violence. The plaintiff Communist Party alleges that defendants, relying upon this statute, have declared their intention to refuse to take any steps to qualify the Communist Party or its nominees to appear on the primary ballot in August, 1942. While the allegations of the complaint do not indicate that the plaintiff party is subject to disqualification under each of the vаrious clauses of this statute, we deem it necessary, in view of the fact that this cause must be remanded for further action by the trial court, to determine the constitutional issues raised by the statute as a whole for the guidance of the lower court.
Insofar as section 2540.4 prohibits the qualification of any party “which is directly or indirectly affiliated, by any means whatsoever, with the Communist Party of the United States [or with] the Third Communist International,” it is subject to the defects already pointed out with reference to section 2540.3. It is special legislation and it attempts to bar political beliefs merely by reference to the particular name borne by groups at present thought to advocate objectionable doctrines. Such legislation has no rational basis. The change of a party name would satisfy the statute without altering thе political doctrines at which the Legislature has aimed its restrictions. In this particular, therefore, section 2540.4 must also be held to have no reasonable relation to the purposes which the Legislature had in mind. The test is not a reasonable one and it is outside the power conferred upon the Legislature by article II, section 2% of the Constitution. It is also invalid because it is special legislation.
The statute forbids the qualification of any party ' ‘ which is directly or indirectly affiliated, by any means whatsoever, with ... any other foreign agency, political party, organization or government.” While we have no doubt that the Legislature might properly deny the right to participate in a primary election to any political party which has subordinated itself to the control and direction of a foreign government, the sweeping language of this prohibition we think plaсes it beyond the bonds of reason in so far as the Legislature’s power to prescribe tests for participation in primary elections is *551 concerned. Such a prohibition would destroy the rights of suffrage of those members of any party which affiliated itself with a foreign organization however beneficial the purposes of such an organization or however far removed from the field of political action within this country. No attempt is made to limit the operation of this clause to those foreign agencies whose activities constitute a clear threat to the operation of our elective system, and we do not think that the Legislature’s power to restrict the constitutional right of suffrage was intended to authorize the adoption of tests so far removed from the express purpose of imprоving the operation of the primary election system. This portion of the statute also must be held to exceed the power conferred upon the Legislature and to be invalid for that reason.
There is no doubt, however, that the remainder of section 2540.4 comes within the Legislature’s power to prescribe tests and conditions for participation in primary elections. This power certainly includes the right to adopt tests designed to exclude those political parties advocating the overthrow of the government by unlawful means or those parties carrying on a program of sabotage, force and violence, sedition or treason. Such groups constitute an immediate threat to the functioning of our institutions, including the continued exercise of the right of suffrage. Since it is within the power of the state as to such groups to restrict even the rights of free speech and free press (see, for example,
Whitney
v.
California,
3. Act requiring 2,500 registered members at the previous primary election. (Elections Code, § 2540.5.)
In this statute (added by Stats. 1941, p. 3036) the Legislature sought to deny participation to political parties in any primary election “unless it appears to the Secretary of State, as a result of examining and totaling the statements of registration of voters and their political affiliations transmitted to him by the county clerks 25 days prior to the last preceding primary election, that no less than 2,500 voters declared their intention of affiliating with that party.” (Italics added.) It is now well established that the Legislature has power to establish tests for participation in a primary election based upon the number of votes cast for the candidates of a particular party in the last preceding election. (Katz v. Fitzgerald, supra.) The present statute sets up a similar test of numerical strength, except that it provides an absolute requirement to be met by all parties rather than one of several alternative requirements any of which would qualify the party for participation. (See Elections Code, see. 2540 (a), (b) and (e).)
In adopting such a test of participation it is the Legislature’s duty to preserve the integrity of the party system (see Socialist Party v. Uhl, supra, p. 792), and tests bаsed upon the numerical strength of the party are sustained upon the theory that the party system will function more effectively if the primary election machinery is denied to those political parties which are made up of exceedingly small bodies of citizens. (See Katz v. Fitzgerald, supra, p. 436.) So long as the tests for participation were stated alternatively, as in Elections Code, see. 2540, it is clear that any substantial party could establish its right to participate in the primary election under some one of the various numerical tests therein provided. Thus, the party could qualify if it had cast for one of its candidates 3 per cent of the total vote at the last preceding gubernatorial election. (Elections Code, sec. 2540 (a).) But failure to have cast this vote could not operate to deprive a substantial party of its present right to participate, 'however, since the party could also qualify by securing a petition *553 signed by at least 10 per cent of the voters of the state at the last preceding gubernatorial election (§2540 (e)) or by establishing that at least 1 per cent of the entire voters of the state at the preceding gubernatorial election had declared their present intention to affiliate with that party. (See. 2540 (b).) The adoption of section 2540.5, however, as an absolute prerequisite to participation in a primary election introduces a new, and exceedingly stringent, element into the Legislature’s requirements. Failure to meet the provisions of section 2540.5, in other words, cannot be obviated by compliance with any alternative test; and, in our opinion, this consideration is an important factor in determining the validity of this legislation.
Any test' based upon numerical data depends for its validity upon the theory that the Legislature is seeking to exclude from participation in the primary election (thus infringing rights of suffrage) only insubstantial groups the deprivation of whose rights can be justified by the larger good derived from a more efficient operation of the primary system. No one would contend that the Legislature has power under article II, section 2%, to adopt numerical tests which have the express purpose of ruling off the primary ballot those parties which clearly represent a large and substantial body of voters. If, therefore, the actual operation of section 2540.5 produces any such result, it cannot be held to be a test which is reasonably designed to accomplish the Legislature’s purрoses.
The complaint in this case alleges that by virtue of the vote polled by the Communist Party for its candidates in the gubernatorial election of November, 1938, it was entitled to and did participate, in the primary election held in August, 1940. It is alleged that the plaintiff party has fully complied with .the requirements imposed by Elections Code, sec. 2540, but that it did not have 2,500 registered voters who declared their intention to affiliate with the Communist Party 25 days prior to the primary election of August, 1940. It is apparent, therefore, that if the provisions of Elections Code, section 2540.5 are held valid, the Communist Party cannot qualify for participation in the primary election of August, 1942, despite its ability to meet the tests of numerical strength which have been applicable in this state for many years. It should be noted that, although Elections Code, secs. 2570 and 2571, require thаt data on the number of registered voters in each party be transmitted to the secretary of the state *554 eighty days prior to each direct primary election and also twenty-five days prior thereto, the requirements for participation in section 2540.5 are measured by the information conveyed twenty-five days before the last preceding primary election, which ordinarily constitutes a period of two years. Since the provisions of section 2540.5 are made absolute, it is clear that no party, however substantial it might be, could participate in a primary election in this state unless it had 2,500 registered voters at a date two years prior to the time when it seeks to assert its right. In the case of a newly organized party the test imposes an absolute bar to participation in a primary election held after its organization because the right to participate is measured by events which transpired before it was in existence. Such a test cannot possibly avoid impairing constitutional rights of suffrage by barring from the ballot political parties which represent substantial numbers of citizens. Moreover, as already pointed out, the test applied must be reasonable. To adopt a test predicated upon the number of registered voters affiliated with a particular party two years in the past when information exists as to the present registration and where there is no alternative test, is to apply an arbitrary and unreasonable standard which does not tend to accomplish any proper legislative purpose. Section 2540.5 of the Elections Code, therefore, must be held to be invalid because it is not a reasonable exercise of the power possessed by the Legislature to establish tests and conditions for participation in primary elections.
4. Act conferring discretion to determine party doctrines. (Elections Code, § 2540.9.)
This section of the statute (added by Stats. Fourth Ex. Sess. 1940, p. 362, see. 3) provides: “The Secretary of State shall, with the advice and consent of the Attorney General, determine which parties are qualified, to participate in any primary election. Such determination shall be subject to review by the courts in accordance with law. ’ ’ Insofar as this section applies to the numerical tests which are imposed upon any party seeking to participate in a primary election, it gives the same kind "of power to the secretary of state which he already possesses under Elections Code, section 2540 (b) and (c), where his duties are ministerial in naturе. The power delegated under this section is applicable to the portions of section 2540.4 which we have held valid, however, and there different considerations are controlling. When construed in conjunction with Elections Code, sec. 2540.4, it is apparent
*555
that the effect of section 2540.9 is to vest in the secretary of state and the attorney general discretion to determine what political parties come within the prohibition of the statute as bodies which advocate the overthrow of the government or which are engaged in a program of force and violence. It has been held that before the constitutional right to vote may be taken away from a citizen, he must be given an opportunity to be heard in his own behalf.
(Pierce
v.
Superior Court,
1 Cal. (2d) 759, 762 [
For the reasons stated, the court erred in sustaining general demurrers to the complaint. The judgment is therefore reversed, and the trial court is directed to issue its order to show cause as provided in section 2900 of the Elections Code.
Edmonds, J., Carter, J, Traynor, J., and Peters, J. pro tem., concurred.
