§ 17. Clergyman or officer violating article; penalty. If any clergyman or other person authorized by the laws of this state to perform marriage ceremonies shall solemnize or presume to solemnize any marriage between any parties without a license being presented to him or them as herein provided or with knowledge that either party is legally incompetent to contract matrimony as is provided for in this article he shall be guilty of a misdemeanor and on conviction thereof shall be punished by a fine not less than fifty dollars nor more than five hundred dollars or by imprisonment for a term not exceeding one year.