A person subject to this title who effects an enlistment or appointment in or a separation from the armed forces of any person who is known to the person 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.
Md. Code, PS § 13A-1027