Interest that is charged pursuant to a written agreement, whether or not recorded, shall be of equal priority with the principal debt secured by the mortgage or deed of trust and shall have priority as to third parties as provided in Title 55.1.
Va. Code § 6.2-408