i know as a fact: this can happen due purely due to democrats refusing to follow their own policy - resulting in a license being pulled by a person who is not allowed a defense in court: that is the state of affairs in fairfax
you can get it pulled by a judge whenever the judge "deems the law allows him/her to do so"
https://budget.lis.virginia.gov/item/2019/1/HB1700/Introduced/3/3-6.03/