(b) Any provision of this chapter to the contrary notwithstanding, a student enrolled in a virtual school program offered by his or her local school system shall be treated as if he or she is attending his or her local school in the attendance zone in which they reside for purposes of participating in extracurricular activities and shall be subject to the same requirements, including Alabama High School Athletic Association rules, imposed on a traditional public school student enrolled in the traditional public school. In addition, if local board of education policy permits inter-system transfer for all students, a student enrolled under this policy shall be treated as if he or she is attending his or her school of record for the purposes of participating in extracurricular activities and shall be subject to the same requirements, including Alabama High School Athletic Association rules, imposed on a traditional public school student enrolled in the traditional public school.