Section 52. Whoever violates any provision of section twenty, and whoever falsely swears or affirms in making any statement required under section twenty, shall be punished by a fine of not more than one hundred dollars.