(1) If it appears to a magistrate, on complaint or information laid before him or her upon oath by any parent, guardian, or relative of any male or female, or by any other person who, in the opinion of the magistrate, is bona fide acting in the interest of any male or female, that there is reasonable cause to suspect that such male or female is unlawfully detained for immoral purposes by the person in any place within the jurisdiction of the magistrate, the magistrate may issue a warrant authorising the person named in the warrant to search for, and when found, to take to and detain in a place of safety, such male or female, until he or she can be brought before him or her or any other magistrate.