If any person shall offend in anything contrary to the tenor and effect of Sections 8-5-20 and 8-5-30, yet, notwithstanding, all judgments given and all other acts executed or done by such person so offending, by authority or color of the office or deputation which ought to be forfeited or not occupied or not enjoyed by the person so offending, after the offense so by such person committed or done and before such person so offending for such offense be removed from the exercise, administration and occupation of such office or deputation, shall be and remain good and sufficient in law to all intents, constructions and purposes.
S.C. Code § 8-5-40