There are emergency mental case laws that permit observation and diagnosis.
you refer to the Baker Act? If you read it you’ll find that specific criteria must be net.
https://en.wikipedia.org/wiki/Florida_Mental_Health_Act