Section 9. Whoever presumes to act as a justice of the peace or notary public after the expiration of his commission, and after receiving notice of such expiration, shall be punished by a fine of not less than one hundred nor more than five hundred dollars.