Any person subject to N.M. Stat. Ann. Chapter 20 who, except as provided by law, apprehends, arrests or confines any person shall be punished as a court-martial may direct.