Punitive detention is to punish a person for an offence committed by him/her after trial and conviction in a court.