Cal. Food & Agric. Code § 35928
(d) Actions taken pursuant to the provisions of subdivision (c) shall in each instance be subject to judicial review under Section 1085 of the Code of Civil Procedure by the superior court of the county with jurisdiction. Such review shall be conducted for the purpose of determining if the action taken shall be sustained or dissolved. At issue in the review shall be the questions of adequate protection of the public health and safety, and the guarantee of due process of law for the persons controlling, or producer of, the raw or certified raw milk supply affected by the action. The department shall have the burden of proof to sustain the actions of the director or his agents at issue in the review.
In the event the court, after such review, finds that the action by the director shall be dissolved, the department shall bear the actual court costs incurred by the persons controlling, or producers of, the raw or certified raw milk supply, and their actual testing costs for any animal or milk tests previously ordered by the department to determine if such milk supply, which is the subject of such court action, is the source of, or may cause, an infection for a communicable disease.
As used in this subdivision, “testing costs” means the actual cost of obtaining samples to be tested, the actual cost of laboratory tests, and the actual cost for extra labor to confine the cattle for the purpose of testing.