Detainees 'enjoy all rights preserved by the laws', prosecutor's office says, after reports of torture in custody.