If the petition is uncontested, the costs shall be borne by the petitioner; if it is contested, costs shall be awarded to the prevailing party.
Va. Code Ann. § 55.1-2833, under Chapter 28. Trespasses; Fences..
Va. Code Ann. § 55.1-2833
If the petition is uncontested, the costs shall be borne by the petitioner; if it is contested, costs shall be awarded to the prevailing party.