Under Virginia law, a law enforcement officer may arrest a person for a misdemeanor without a warrant under which of the following circumstances?