In this action for declaratory relief the plaintiffs, who under civil service rules are classified as “journeymen linemen” and are employed by the Department of Water and Power of the City of Los Angeles, allege in their complaint that they are entitled to receive the same pay, i. e., $225 per month, as is paid to those journeymen linemen whom the dеpartment designates and details as “troublemen,” because, so the;*' allege, they perform duties that are similar to and identical with the duties performed by the latter. As a basis for their alleged cause of action they aver with resounding epithets that the reason they have not been designated as troublemen or favored with the pay of troublemen is due to the “whim, caprice and favoritism” of the defendants, in whom the appointing power is vested, and not on any basis of seniority or ability. The trial court sustained a general demurrer to the complaint without leave to amend. Hence this appeal.
*749 The record does not disclose whether the trial court sustained the general demurrer on the ground (1) that the court was without jurisdiction to grant the relief prayed on the facts alleged, or (2) that the essential allegations were set forth by way of conclusions rather than by ultimate facts. As we are of the opinion that its decision was correct on either ground we shall discuss both grounds, even though a discussion of one would suffice.
The complaint, so far as is here material, alleged that the Department of Water and Power of the City of Los Angeles, by resolution adopted by its commissioners, fixed the wage of “journeymen linemen” at from $195 to $225 per month; that such linemen are within the competitive classified civil service of the city; that the plaintiffs are all employed by the department as journeymen linemen, having after competitive examination been duly certified by the Civil Service Commission; that each plaintiff is now receiving $195 per month; that the commissioners of the department have wrongfully and without authority of law set up a false classification of journeymen linemen which is designated as “trouble-men, ’ ’ each of whom is paid a wage of $225 per month; that the troublеmen perform duties that are similar and identical to and with the duties performed by the plaintiffs as journeymen linemen; that the troublemen are not selected by the commissioners of the department on any basis of seniority or ability to perform the duties of a journeyman lineman [troubleman?] but on the basis of whim, caprice and favoritism which evades the law and thе intent and purpose of the civil service provisions of the charter of the city; that as a result the plaintiffs are forever doomed to receive the minimum beginner’s salary of $195 per month. After setting forth certain provisions of the charter, plaintiffs allege that certain specific controversies exist between the plaintiffs and defendants, and they then proceed to set forth the contentions they make as well as those they allege the defendants make, with a prayer for a declaration, among other things, that it be determined they are entitled to receive $225 per month.
At the outset it may be noted that this is not an action seeking to have the wage scale of troublemen reduced tо that of the journeymen linemen because the work of each is the same but to lift the wage of the journeyman to the level of the troublemen. This involves nothing that is new or even *750 dastardly. It merely implies that the troublemen are entirely capable and the journeymen equally so, but that the nod. which has made one a troubleman and kept the other a journеyman was, in the view of appellants, the result of “nepotism, politics, whim or caprice.” This claim has a familiar ring, if not to all then at least to business executives who are entrusted with the power to promote persons to responsible positions over their fellows. But the claim as made is significant in another aspect, and that is its bearing upon the jurisdiction of the court to entertain the cause of action which the complaint attempts to state. The complaint invokes the jurisdiction of the court to declare by its judgment, not that troublemen shall receive no more pay than journeymen, but that journeymen must be ranked with troublemen and be paid the wage which the latter now receive.
The initial contention of the plaintiffs which requires consideration is the claim that their controversy with the defendants was not only one within the jurisdiction of the court but that it set forth a right in the plaintiffs, and a corresponding duty on the part of the defendants, which should have been entertained and adjudicated by the court. In taking this position we must necessarily assume that the plaintiffs are of the opinion that if a right and duty are shown the trial court has no discretion except to entertain the action. Such is not the law; and, what is more, our right of review is so limited that we may reverse only if it affirmatively appears that the court below abused its discretion. Appellants here argue, and cite eases which they contend sustain their claim, that the court below had jurisdiction to entertain and adjudicate upon the controversy; but they neither argue nor cite cases to the all-controlling point whether the court abused its discretion.
Our statute (Code Civ. Proc, sec. 1060) authorizes a superior court to make a binding declaration, with the force of a final judgment, in cases of actual contrоversy relating to the legal rights and duties of the respective parties to the action. But the statute expressly provides that the court may refuse to exercise the power where it concludes its declaration or determination is not necessary or proper at the time and under all the circumstances. (Code Civ. Proc., sec. 1061.) Accordingly undеr the statute litigants are not vested with an absolute right to a determination of an actual controversy existing between them with respect to their rights and
*751
duties growing out of it. Moreover, if the determination is refused they are not entitled to a review unless they show affirmatively that the court abused its discretion.
(City of Alturas
v.
Gloster,
16 Cal. (2d) 46 [
Applying these principles here, it will be noted that the judgment sought is one essentially of specific performance. The court is asked to decree that hereafter the department must pay each of the plaintiffs $225 per month, and that it cease and desist from its alleged practice of designating troublemen except upon the basis of seniority and ability. There is no such power in the court—and wisely there is none. We lay further discussion of the subject to one side and pass to a consideration of the provisions of the Charter of the City of Los Angeles, which is here controlling as to the rights and duties of the parties and which to our mind additionally sustains the decision below.
The Charter of the City of Los Angeles provides that its Board of Civil Service Commissioners shall classify the various positions or jobs in the city service so those that are sufficiently similar in respect to the duties and responsibilities shall be in оne class. The commission has established as one of the classes that of journeymen linemen. The complaint, to which the Civil Service Commission is a party defendant, does not charge that it should have set up ranks within the class of journeymen linemen such as journeymen *752 and troublemen. Indeed, the charge could not well be made in view of appellants’ claim that the duties and responsibilities of all linemen are for all purposes identical and similar. At the time plaintiffs took and passed a competitive examination for journeymen linemen the Department of Public Works, according to the complaint, had set the pay for the class to range between $195 and $225 per month. It is not, and indeed it could not bе contended, in view of the terms of the charter, that the department did not possess the authority and power to fix wages or salaries of its employees This for the reason that the charter imposes upon the department the duty to create the necessary positions in the department and to fix the salaries and duties of every employee thereof. Under that provision of the charter it is clear (except for applicable civil service rules, of which there are none) that the department might establish positions by rank, grade or otherwise, even though such positions were all within one class as determined by the Civil Service Commission. The latter’s duty was to classify generally, and not specifically; and it had no authority to set the wage. No provision of the charter restricts the department in its appointive power, except that it must choose linemen from the list certified by the Civil Service Commission. As the charter, as plaintiffs concede, makes no provision requiring that ability or seniority should be taken into account, the departmеnt necessarily may designate from its personnel of journeymen linemen those it chooses as troublemen, without let or hindrance from anyone. So far as the charter is concerned, the department may designate a journeyman lineman as trouble-man, with the higher pay which goes with that designation.
Section 123 of the charter is quoted by appellants, but for what purpose is not clear. All that the section provides is that the Salary Standardization Committee shall from time to time grade and regrade salaries of those in the classified civil service so that “like salaries shall be paid for like duties.” The committee has no power of enforcing its conclusions. All it can do after it has come to a cоnclusion is to recommend to the proper authorities the salary or wage for each class of positions in strict accord with the classification set up by the Civil Service Commissioners. In the instant case the commissioners set up a single classification—that of
linemen.
It did not designate, because it could not, the salary or wage to be paid to linemеn. It might have classified line
*753
men into the two existing designations of journeymen and troublemen, but it did not. No claim is here made that it should have done so. The Salary Standardization Committee could have recommended to the defendant department that journeymen and troublemen should receive the same pay; that the pay he $225 or $195, or in between. But even so, it сould not enforce its views, as the charter grants the authority and the discretion to the department. The complaint does not allege that the department has promulgated any rules in favor of its employee linemen except that their compensation shall be somewhere between $195 and $225 per month. Unless there are controlling rules it seеms evident that the department at any time may revoke a person’s designation as troubleman and reduce his pay to $195. They are confirmed by civil service rules in their classification as linemen, and in no others.
(People
ex rel.
O’Connor
v.
Girvin,
Accordingly, then, as under the charter the department may rank or grade linemen as journeymen linemen or troublemen, and may vary the pay as to each even though the work is the same or substantially so, we may not inquire into the motives that affect the commissioners in their selection. Executive heads in the fields of government, as in the fields of commerce, must have a certain amount of discretion if they are to function. (Cf.
State
ex rel.
Reilley
v.
Civil Service Commission,
8 Wn. (2d) 498,
Quite apart from the considerations we have expressed in support of the ruling below, we are of the opinion that the demurrer was rightly sustained for still another reason. The essential charging allegations of the complaint are stated by way of conclusion and not by way of ultimate fact. The charge is that the defendants “have wrongfully and without authority of law adopted, established and set up an artificial and false classification of journeymen linemen
*754
known, termed and designated by said defendants as ‘troublemen.’ That journeymen linemen so designated are paid a salary of $225 a month and perform duties that are similar and identical to and with the duties performed by plaintiffs as journeymen linemen; that said ‘troublemen’ are not chosen or selected ... on the basis of seniority or ability . . . but on a basis of whim, caprice and favoritism.” Except for the statement that troublemen are paid $225 a month, the entire quoted statement represents nothing but the pleader’s conclusion as to the facts.
(Going
v.
Dinwiddie,
The allegation that troublemen were appointed because of ‘‘whim, caprice and favoritism” is nothing but an allegation of motive; and as the standards of the law are external, motives are not actionable. Where there is a legal right to do a certain act, the motive which induces the exercise of the right is of no importance. (1 C. J. p. 962.) As no claim is made by the plaintiffs that the troublemen are not equally as capable as any of the other journeymen linemen, the concession accordingly admits that the appointments were proper but were based upon wrong motives, and in that situation the correctness of the appointment cancels out the wrongfulness of the motive. We need cite but a ease or two.
In
Isbrandtsen-Moller Co.
v.
United States,
In
Dakota Central etc.
v.
State etc.
ex rel.
Payne,
The cases cited by both appellants and respondents, with one exception are not in point, and for that reason we have no occasion to discuss them. The one excеption, which is here pertinent, is a decision of our supreme court in
Banks
v.
Civil Service Commission,
10 Cal. (2d) 435 [
*756 The demurrer was rightly sustained and the judgment is affirmed.
Wood, (W. J.) Acting P. J., and McOomb, J., concurred.
Appellants’ petition for a hearing by the Supreme Court was denied February 26, 1942.
