If the marriage has not been preceded by the required publication or if the dispensations permitted by law have not been obtained, or if the prescribed intervals between the publications and the celebration have not been observed, the public prosecutor will have a fine imposed on the public official which may not exceed 4.5 euros and on the contracting parties, or those under whose power they have acted, a fine proportionate to their wealth.