Cal. Civ. Proc. Code § 871.27
(b) The defendant is entitled to an offset in the calculation of the actual price paid or payable for optional equipment, service contracts, or GAP financing purchased by the plaintiff during the motor vehicle purchase or lease transaction from third parties, except for optional purchases for dealer-supplied equipment or services.
(e) For leases, damages and civil penalties shall be calculated as follows:
(g) The restitution payment and vehicle return procedures shall comply with all of the following conditions: