The penalties imposed by the preceding article will be incurred by the persons designated therein, for any contravention of the rules prescribed by article 165, even if such contraventions are not deemed sufficient to render the marriage null and void.