I always assumed this was negotiated ahead of time with the county where they are operating, and police officers educated on what to do.