Sure. I'll give an extreme example of it, and then I'll give a more commonplace example.
An extreme example of it is the serviceman who says,—excuse my language, Hansard—“Go to hell! I'm not going to cut my hair anymore.” He will be charged, convicted and punished for that. Presumably he will be ultimately released from the service. A position such as that is fatal to fighting effectiveness, unit cohesion, and so on in an organization such as the Canadian Forces, but does it mean that he should have a criminal record for evermore? Probably not.