W. Va. Code § 61-6-1a
Members of the West Virginia State Police, the Division of Protective Services, sheriffs and mayors, and those acting under their order, may, when engaged in suppressing a riot, rout or unlawful assemblage, cordon off any area or areas threatened by such riot, rout or unlawful assemblage, and may take all actions which are necessary and reasonable under the emergency to restore law and order, and such actions may be, but are not limited to, the following:
(d) Enter a private dwelling or other building or other private place in such areas when in fresh pursuit of a rioter, when in search of a sniper who has fired upon a person from such a dwelling or other building or place or when in search of firearms, other dangerous weapons, ammunition, dynamite, or other dangerous explosives when there is reason to believe that such items are stored in the said dwelling, building, or place and that they will be removed therefrom before a search warrant could be obtained.
No person shall willfully fail to obey a lawful order of any mayor, sheriff, deputy sheriff, municipal police officer, member of the West Virginia State Police, or the Division of Protective Services, or other officer, given pursuant to this section.
Any person who violates an order given pursuant to the authority of this section shall be guilty of a misdemeanor, and, upon conviction thereof, shall be fined not more than $500, or imprisoned in the county jail not more than six months, or both fined and imprisoned.