Female pupils shall be permitted to compete for a position in all interscholastic athletic activities. If a school has a girls’ team in an interscholastic athletic activity, a female shall be permitted to compete for a position on any other team for that activity. This subsection shall not be construed to prevent or interfere with the selection of competing teams solely on the basis of athletic ability.