This аction was commenced in the city and county of San Francisco. The cause of action is damage by injury to real property situated in the County of Sonoma, and the abatement of a nuisance therein. This is an appeal from an order denying a motion for change of venue, made “upon the ground that thе real property af *590 fected by said action is situated in the County of Sonoma, and for that reason said cause is proper to be tried in said county, and upon the further ground that all of the defendants, other than the County of Sonoma, are residents and live within said County of Sonoma and that they are entitled to have said trial therein.”
Section 394 of the Code of Civil Procedure, upon which respondent relies, provides as follows: “An action or proceeding against a county, or city and county, may be commenced and tried in such county, or city and county, unless such action or proceeding is brought by a county, or city and county, in which case it may be tried in any county, or city and county, not a party thereto. Whenever an action or proceeding is brought by a county, city and county, or city, against a resident of another county, city and county, or city, or a corporation doing business in the latter, the action or proceeding must be, on mоtion of either party, transferred for trial to a county, or city and county, other than the plaintiff, if the plaintiff is a county, or city and county, and other than that in which the plaintiff is situated, if the plaintiff is a city, and other than that in which the defendant resides or is doing business or is situated. Whenever an action or proceeding is brought agаinst a county, city and county, or city, in any county, or city and county, other than the defendant, if the defendant is a county, or city and county, or, if the defendant is a city, other than that in which the defendant is situated, the action or proceeding must be, on motion of the said defendant, transferred for trial to a county, or city and сounty, other than that in which the plaintiff, or any of the plaintiffs, resides, or is doing business, or is situated, and other than the plaintiff county, or city and county, or county in which such plaintiff city is situated, and other than the defendant county, or city and county, or county in which such defendant city is situated. In any action or proceeding, the partiеs thereto may, by stipulation in writing, or made in open court, and entered in the minutes, agree upon any county, or city and county, for the place of trial thereof. This section shall apply to actions or proceedings now pending or hereafter brought.”
When extricated from its mass of cumbersome phraseоlogy, and particularly eliminating, when necessary, the words “proceeding,” “city and county,” “city,” “cor *591 poration,” etc., and retaining the language applicable to the instant case, the section provides: “An action . . . against a county . . . may be commenced and tried in such county . . . unless such action ... is brought by a сounty ... in which case it may be tried in any county . . . not a party thereto. Whenever an action ... is brought by a county . . . against a resident of another county . . . doing business in the latter, the action . . . must be on motion of either party, transferred for trial to a county . . . other than the plaintiff . . . and other than that in which the defendant resides or is dоing business or is situated. Whenever an action ... is brought against a county ... in any county . . . other than the defendant . . . county . . . the action . . . must be, on motion of said defendant transferred for trial to a county . . . other than that in which the plaintiff . . . resides or is doing business or is situated . . . and other than the defendant county. ...” The framers of this section evidently endeavored to cover any case wherein a county, etc., was the plaintiff, wherein a county, etc., was the defendant, or where the plaintiff was a county, etc., and likewise where the defendant was a county, etc. Tinder section 394 of the Code of Civil Procedure, a plaintiff, other than a county, etc., is рermitted to commence and proceed to trial in an action or proceeding against a county, etc., in such defendant county. If a county, etc., brings an action against a resident of another county, etc., either plaintiff or defendant has the right to demand that the cause be transferred to a neutral county. If a plaintiff other than a county, etc., institutes an action against a county, etc., in another county, the action or proceeding may be transferred to a neutral county, but only upon motion of the defendant. In this case, under section 394 of the Code of Civil Procedure, plaintiff could have filed the complaint in Sonoma County, but she seleсted the city and county of San Francisco. Defendant, Sonoma County, is precluded from asking a transfer to a neutral county, as it does not appear from the record that plaintiff is a resident of the city and county of San Francisco or of Sonoma County or of any other county in the state. It does apрear that she is the owner of a ranch situated in the county of Sonoma.
*592
The constitutionality of section 394 of the Code of Civil Procedure was upheld in
Mono Power Co.
v.
Los Angeles,
In
City of Stockton
v.
Wilson,
*593
The first question which must be determined by a court in any case is that of jurisdiction (sec. 430, Code Civ. Proc.). Every court, by virtue of its organization, takes judicial knowledge of the extent and boundaries of the territory within which it can exercise jurisdiction as well as the subject matter over which jurisdiction has been conferred upon it. In the case of
Rogers
v.
Cady,
Section 392 of the Code of Civil Procedure provides, in part: “Actions for the following causes must be tried in the county in which the subject of the action or some part thereof is situated, subject to the power of the court to change the place of trial as provided in this code: 1. For the recovery of real property . . . and for injuries to real property.” The power of what court? The power of the court in which the actiоn has been legally commenced. *594 Sonoma County is the situs of the real property alleged to be injured, and it is there the action must be tried, subject to the power of the court of that county to change the place of trial. Courts must always be jealous of their powers and rights. It is intolerable that the court of thе county in which the real property is situated, in an action that is local and not transitory, should be deprived of its right and power to change the place of trial by the act of a plaintiff alone in bringing an action in a county of her own choice. The complaint alleged that the injury occurred in Sonoma County. A reading of section 392 of the Code of Civil Procedure shows the underlying intention that the action should be brought in the county where the property is situated subject to the power of the court in such county to change it.
Section 394 of the Code of Civil Procedure affects only those cases properly brought in other counties, permitting fair play between the litigants by giving the option to the defendant county to have its cause tried away from the county of the residence of the plaintiff, with its local sentiments, and it gives the plaintiff the same right of trial outside of the county defendant. But those cases brought in other counties must, as a primary basis, be jurisdietionally properly within those counties. It certainly was never designed to permit a plaintiff by any act of his to deprive a court of proper original jurisdiction of power delegated to it.
So far we have been considering this case as though the County of Sonoma was the sole defendant, and alone to be given consideration. This, however, is not the case. There are five other individual defendants and the complaint alleges acts of commission and omission against each of them and prays for a judgment “against said defendants and each of them” in the sum of two thousand dollars. The individual defendants are, therefоre, vitally interested parties. The complaint refers to these individual defendants as “the duly elected, qualified and acting supervisors of said Sonoma County.” Section 393 of the Code of Civil Procedure provides: “Actions for the following causes must be tried in the county where the cause, or some part thereof, arose, subject to the like power of the court to change the place of trial: ... 2. Against a public officer. ...” Need anything more be said than that if the defendants, as super *595 visors of Sonoma County, had been sued alone without the addition of “Sonoma County” as a defendant that this motion for a change of venue would hаve been granted?
These five defendants are also vitally interested personally under section 395. If the municipal corporation was not a party they would unquestionably be entitled to have the motion for change of venue made by them granted, Sonoma County being their place of residence. Section 395 оf the Code of Civil Procedure provides, in part: “In all other cases the action must be tried in the county in which the defendants or some of them reside at the commencement of the action or if it be an action for injury to person or property ... in the county where the injury occurs. ...” The place of the allеged injury to property in this case was Sonoma County. That is a substantial right, particularly in an action for damages for trespass; a trial by jury, unless waived, is also a right, and every man has, if he desires, a right of trial by his peers and neighbors, provided the wrong, civil or criminal, is committed within his own locale.
Under section 2 of Act 5619, General Laws оf California [Stats. 1923, p. 675], counties are liable for injuries to property resulting from such acts of omission or commission as are set out in the complaint herein, if proven. There can be no reasonable doubt that if proven the county of Sonoma could and would respond in damages, but notwithstanding that, the plaintiff has vоluntarily elected to join with it those other certain individual defendants, and to ask individual judgments against each of them. Is it possible that a plaintiff, by voluntarily joining them with a defendant municipal corporation, and bringing the action in a county other than the county of their residence, and the county of the situs of their acts complained of officially and individually, and thereby deprive them of their statutory right to be heard in the county of their residence and alleged official and individual reprehensibility ? It would be establishing a very unwise precedent to put a party plaintiff in a position where, on the one hand, he could control the place оf trial, overreaching the power of the court of the situs of the cause of action, and, at the same time, destroy a statutory right of each defendant and harass and annoy him with perhaps vexatious litigation in a stranger county.
*596
Our attention has not been called to any case directly in point involving a municipаl corporation, when joined with individual defendants. We are, therefore, constrained to reason by analogy. A nonresident corporation is by law permitted to be sued in any county in the state, but when joined with individual defendants it has been held that individual defendants have a right to a change of venue. “The right ... to sue them could еxist only in a case where they were the only defendants (sec. 395, Code Civ. Proc.), and hence it appears that there are two other defendants . . . both of whom are residents of this state.” (See
Ludington Exploration Co.
v.
La Fortuna, etc.,
In this ease the individual defendants are entitled to a change of venue to Sonoma County. Section 394 of the Code of Civil Procedure does not provide that a plaintiff may commence thе action in a neutral county or that a plaintiff may select its own forum. Concluding that the provisions of section 394 of the Code of Civil Procedure do not apply as we find the record in this case, it is necessary to consider the other sections pertaining to venue, and from what has been said heretofore, all defendants are entitled to a change of venue to Sonoma County. The order appealed from must be reversed. It is so ordered.
Tyler, P. J., and Knight, J., concurred.
