Law in the British Army is written down in "Qeen's Regulations" which list all the offences a poor squaddie might commit. Offence No. 69(???... it was a long time ago...) is "Conduct prejudicial to the good order of military discipline". Nobody is quite sure what this really means, but it's the one they get you for if they can't prove any other offence. If they can prove another offence, they add that one as well, just to make it sound worse!