(1) Whenever any relative or friend of any person detained under the provisions of section 466 or section 471 desires that he shall be delivered to his care and custody, the Provincial Government may, upon the application of such relative or friend and on his giving security to the satisfaction of such Provincial Government that the person del...