Notwithstanding Sections 3351 and 3352, a ward of the juvenile court committed to a regional youth educational facility pursuant to Article 24.5 (commencing with Section 894), engaged in rehabilitative work without pay 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 wards shall be deemed employees 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 public work project, provided:
Ca. Lab. Code § 3364.7