All judgments given and all acts done by any person, by authority or color of any office, or the deputation thereof, under the restored government of Virginia or of this state, before his removal therefrom, shall be valid, though it afterwards may have been or may be decided or adjudged that he was not lawfully elected or appointed, or was disqualified to hold the office, or that the same had been forfeited or vacated.
W. Va. Code § 6-5-3