The "agreed case” entered into between the plaintiff Bailey, the owner of the assessed -property, and defendant Johnson, the tax collector of the county, whereby it was sought to submit to the court below, under the supposed sanction of section 1138 of the Code of Civil Procedure, the question of the validity of the tax in controversy, gave the court no jurisdiction of the subject matter sought to have adjudicated. Section 1138 provides that: "Parties to a question in difference, which might be the subject of a civil action, may, without action, agree upon a case containing the facts upon which the controversy depends, and present a submission of the same to any court which would have jurisdiction if an action had been brought,” etc., and thereby have a determination of such question. But this provision has reference to interested
It does not follow that, because he would have been the proper party defendant in an action brought by Bailey to enjoin the collection of the tax, he is the proper party to this proceeding. Such an action runs against the officer, or individual, whose act is to be enjoined, whether he be a principal or an agent. And while such an action would nominally be against the tax collector, the real defendant would be the county, with the right in the latter to conduct and have control of the defense. Here there is an attempt, without the intervention of an action, to submit to adjudication a controversy in which the rights of the county are directly involved, without any opportunity on its part to be heard. The objection to the jurisdiction interposed by the district attorney on behalf of the county should liave been sustained. This renders it unnecessary to consider the other proposition discussed.
The judgment is reversed, with directions to the court below to dismiss the proceeding.
Garoutte, J., and Harrison, J., concurred.