Cal. Welf. & Inst. Code § 6513
(a) The State Department of Developmental Services shall pay for the costs, as defined in this section, of judicial proceedings, including commitment, placement, or release, under this article under both of the following conditions: