Section 97. If a company, its agent or servant, allows a child under ten years to enter upon or into any of its cars for the purpose of selling newspapers or other articles therein or offering them for sale, it shall forfeit fifty dollars, to be recovered by any person by an action brought within three months after the offence has been committed.