The Sontaran military code was the law of the Sontaran Empire, upheld by its people.
Laws within the territories of the empire were typically upheld unless they were in conflict with the military code, which stated that anything expressly not permitted was forbidden. The death sentence was mandatory for all crimes. (PROSE: Shakedown)