Legal system and penalties