Also, the page 5 form is listed as “Certification And Order For Involuntary Admission To A Public Or Licensed Private Facility”, not any declaration of actual fitness or a voluntary agreement.
As best I recall, that IS enough to get you barred from owning firearms.
"National and state databases are accessed simultaneously at the time of transaction. Four are maintained by the Virginia Department of State Police, accessible by the Virginia Criminal Information Network (VCIN): Virginias wanted and missing persons files and protective orders, Virginias criminal history record files, a calendar file on handgun purchases required to monitor and enforce lawful handgun limitations and Virginias database of adjudications of legal incompetence and incapacity, and involuntary commitments to mental institutions."
It doesn't sound like they track every court action in these mental health hearings/evaluations. Just actual adjudications and involuntary commitments. Legal incompetence and incapacity isn't very explanatory, but I'm guessing it has a fairly high burden of proof required.