If any minor pupil in any district of a county is an habitual truant, or is irregular in attendance at school, as defined in this article, or is habitually insubordinate or disorderly during attendance at school, the pupil may be referred to a school attendance review board or to the probation department for services if the probation department has elected to receive these referrals. The supervisor of attendance, or any other persons the governing board of the school district or county may designate, making the referral shall notify the minor and parents or guardians of the minor, in writing, of the name and address of the board or probation department to which the matter has been referred and of the reason for the referral. The notice shall indicate that the pupil and parents or guardians of the pupil will be required, along with the referring person, to meet with the school attendance review board or probation officer to consider a proper disposition of the referral.

If the school attendance review board or probation officer determines that available community services can resolve the problem of the truant or insubordinate pupil, then the board or probation officer shall direct the pupil or the pupil's parents or guardians, or both, to make use of those community services. The school attendance review board or probation officer may require, at any time that it determines proper, the pupil or parents or guardians of the pupil, or both, to furnish satisfactory evidence of participation in the available community services.

If the school attendance review board or probation officer determines that available community services cannot resolve the problem of the truant or insubordinate pupil or if the pupil or the parents or guardians of the pupil, or both, have failed to respond to directives of the school attendance review board or probation officer or to services provided, the school attendance review board may, pursuant to Section 48263.5, notify the district attorney or the probation officer, or both, of the county in which the school district is located, or the probation officer may, pursuant to Section 48263.5, notify the district attorney, if the district attorney or the probation officer has elected to participate in the truancy mediation program described in that section. If the district attorney or the probation office has not elected to participate in the truancy mediation program described in Section 48263.5, the school attendance review board or probation officer may direct the county superintendent of schools to, and, thereupon, the county superintendent of schools shall, request a petition on behalf of the pupil in the juvenile court of the county. Upon presentation of a petition on behalf of a pupil, the juvenile court of the county shall hear all evidence relating to the petition. The school attendance review board or the probation officer shall submit to the juvenile court documentation of efforts to secure attendance as well as its recommendations on what action the juvenile court shall take in order to bring about a proper disposition of the case.

In any county which has not established a school attendance review board, if the school district determines that available community resources cannot resolve the problem of the truant or insubordinate pupil, or if the pupil or the pupil's parents or guardians, or both, have failed to respond to the directives of the school district or the services provided, the school district, pursuant to Section 48260.6, may notify the district attorney or the probation officer, or both, of the county in which the school district is located, if the district attorney or the probation officer has elected to participate in the truancy mediation program described in Section 48260.6.