Section 4A. Whoever conveys real property by an instrument which contains a provision which he knows is void under the provisions of section twenty-three B of chapter one hundred and eighty-four shall be punished by a fine of not more than five hundred dollars or by imprisonment for not more than one year.