A program of education shall be provided for by the several counties and school districts of the state for common school-age persons confined in each of the detention facilities staffed and maintained by the several counties of the state under this chapter and chapters
13.16 and
13.20 RCW. The division of duties, authority, and liabilities of the several counties and school districts of the state respecting the educational programs is the same in all respects as set forth in chapter
28A.190 RCW respecting programs of education for state residential school residents. Nothing in this section shall prohibit a school district from utilizing the services of an educational service district subject to RCW
28A.310.180.