As per apnaqanoon, which empowers the Magistrate having reasons to believe that any person is confined wrongfully to issue a search warrant for recovery by the executing officer and producing immediately be fore such Magistrate for making such order he deems proper in the circumstances according to law/qanoon of the case.