4473 refers to people who have been involuntarily committed or adjudicated mentally defective. Both of those require a court judgment.
Are you sure about that? I think you can be involuntarily committed without a court order. At least temporarily. Scratch that, I volunteered in an ER and people were regularly involuntarily committed without court orders. The doctor just stuck them in the padded room.
I think someone involuntarily committed should not have access without a psych evaluation indicating the issue is resolved. You can be involuntarily committed for many things that are temporary.