This section provides that a person removed to a place of safety cannot be detained after the end of a period of 24 hours, beginning at the time of the person’s removal from a public place. The Department of Justice can amend the maximum period of detention by regulations.