Cal. Water Code § 35407
A district may commence and maintain any actions and proceedings to carry out its purposes or protect its interests and may defend any action or proceeding brought against it.