What is the procedure for establishing protective custody in your jurisdiction?