The way I read it all nearly all of those would be correct. If a company commander found someone trying to break into his arms room he would be within the law to order that person detained.
Unlike police officers, military officers are not allowed to "not act" on illegal actions or violations of orders occurring in their presence. To do so would open them up to much more serious charges. This is also true of non-commissioned officers, although they are often given more leeway.
There is case going back to the 1880s of an NCO who surrendered his weapon to train robber. He was sent to court-martial for that.
Proxima est Mors, Malum Nullum adhibit Misericordiam