(1) Where a magistrate has reason to believe that any person is confined in circumstances that amounts to an offence, he or she may issue a search warrant, and the person to whom such warrant is directed may search for the person so confined.
(2) The search shall be made in accordance with the terms of the warrant and the person, if found, shall immediately be brought before the magistrate, who shall make any order as in the circumstances of the case seems proper.