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