In Board of Supervisors of Richmond County v. Rhoads, 803 S.E.2d 329 (Va. 2017), the Virginia Supreme Court ruled that an owner who built a garage that violated the zoning law could maintain that use even though the permit was erroneously granted because the owner had invested in reasonable reliance on the permit grant.
See also: Zoning