That doesn't make it a criminal offence.
The fact that the maximum punishment under military law is high doesn't mean that every instance of it is serious. For example, break and entry into a dwelling house has a maximum sentence of life imprisonment under the Criminal Code, but I don't think that anyone has ever been given that sentence. It recognizes that society doesn't take it very lightly, but....
It's not a Criminal Code offence to—