Any judgment or settlement of an action as provided for in this chapter is, upon notice to the court, subject to the same lien claims of the Employment Development Department as are provided for in Chapter 1 (commencing with Section 4900) of Part 3, and shall be allowed by the court as it determines necessary to avoid a duplication of payment as compensation to the employee for lost earnings.
Ca. Lab. Code § 3865