A school district that provides education services to pre-adjudicated and post-adjudicated students who are confined by court order in a juvenile residential facility operated by a juvenile board is entitled to count such students in the district's average daily attendance for purposes of receipt of state funds under the Foundation School Program. If the district has a local revenue level greater than the guaranteed local revenue level but less than the level established under Section 48.257, the district in which the student is enrolled on the date a court orders the student to be confined to a juvenile residential facility shall transfer to the district providing education services an amount equal to the difference between the average Foundation School Program costs per student of the district providing education services and the sum of the state aid and the money from the available school fund received by the district that is attributable to the student for the portion of the school year for which the district provides education services to the student.
Tex. Educ. Code § 37.0061