No criminal action for trespass shall lie against the State Geologist or any agent or employee of the State Geologist pursuant to any lawful act done in the performance of his duties, including entry upon the lands of any person for the purpose of performing such duties.
Va. Code § 45.2-113