A ward of the juvenile court engaged in rehabilitative work without pay, under an assignment by order of the juvenile court to a work project on public property within the jurisdiction of any governmental entity, including the federal government, shall, upon the adoption of a resolution of the board of supervisors declaring that such ward is deemed an employee of the county for purposes of this division, be entitled to the workers' compensation benefits provided by this division for injury sustained while in the performance of such assigned work project, provided:
Ca. Lab. Code § 3364.55