Section 16. Any pupil who has attained age eighteen, or the parent, guardian or custodian of a pupil who has not attained said age of eighteen, who has been refused admission to or excluded from the public schools or from the advantages, privileges and courses of study of such public schools shall on application be furnished by the school committee with a written statement of the reasons therefor, and thereafter, if the refusal to admit or exclusion was unlawful, such pupil may recover from the town or, in the case of such refusal or exclusion by a regional school district from the district, in tort and may examine any member of the school committee or any other officer of the town or regional school district upon interrogatories.