If a conductor, ticket-master or other officer of a railroad shall knowingly violate any provision of N.H. Rev. Stat. Chapter 377 relative to fares, he shall be guilty of a violation and shall be incapable of holding any office or any employment on the railroad.