Sec. 9. PRIORITY. The perfection of a restitution lien under this article is notice of the claim to all persons dealing with the defendant or the property identified in the affidavit perfecting the lien. Without regard to whether perfected before or after the perfection of a restitution lien filed and perfected under this article, a perfected real estate mortgage lien, a vendor's lien, a purchase money security interest, a chattel paper security interest, a lien on a motor vehicle perfected as provided by Chapter 501, Transportation Code, or a worker's lien perfected in the manner provided by law is superior and prior to a restitution lien filed and perfected under this article. Except as provided by this article, a perfected lien in favor of a victim is superior and prior to a lien perfected by the state under this article, and the perfected lien in favor of the state is superior and prior to the claim or interest of any other person, other than:
(1) a person who acquires a valid lien or security interest perfected before the perfection of the restitution lien;
(2) a bona fide purchaser who acquires an interest in the property, if personal property, before the filing of the restitution lien, to the extent that the purchaser gives value; or
(3) a bona fide purchaser for value who acquires and files for record an interest in the property, if real property, before the perfection of the restitution lien.