Any person subject to Chapter 20 NMSA 1978 who effects an enlistment or appointment in or a separation from the armed forces of any person who is known to him to be ineligible for that enlistment, appointment or separation because it is prohibited by law, regulation or order shall be punished as a court-martial may direct.
NMS § 20-12-19