Section 6(6)(b) in The Andhra Pradesh Prevention Of Begging Act, 1977
(b)Notwithstanding anything in the Lepers Act, 1898, or in the Indian lunacy Act, 1912, in respect of any leper asylum or lunatic asylum referred to in clause (a) the Superintendent of such leper asylum or the person in charge of such lunatic asylum, as the case may be, shall also have authority to detain persons sent thereto in such asylum in accordance with the direction of the Court under this section.