No employee of or applicant for employment with the Commonwealth shall be required, as a condition of employment, to smoke or use tobacco products on the job, or to abstain from smoking or using tobacco products outside the course of his employment, provided that this section shall not apply to those classes of employees to which § 27-40.1 or § 51.1-813 is applicable.
Va. Code § 2.2-2902