Any person who, being duly appointed under any statute to be a valuator for determining the compensation to be paid to any person for land compulsorily taken from the person under the authority of any statute, or for injury done to any land under the authority of any statute—
(a) acts as such valuator while the person has, to the person’s knowledge, an interest in the land in question; or
(b) executes unfaithfully, dishonestly, or with partiality, the duty of making a valuation of the land or of the extent of the injury;is guilty of a misdemeanour, and is liable to imprisonment for 3 years.