The facilities of any school district, operating a recreation program pursuant to the provisions of sections 471.15 to 471.19 shall be used primarily for the purpose of conducting the regular school curriculum and related activities and the use of school facilities for recreational purposes authorized by those sections shall be secondary.