I agree, there should be a way to hold him while they get the court order.
I believe that police can order a 72 hour involuntary commitment to a psych ward.