; and (B) a military court protective order issued after the person to be subject to the order has received notice and opportunity to be heard on the order, shall restrain such person from possessing, receiving, or otherwise accessing a firearm in accordance with section 922 of title 18. (2) Notice to Attorney General Not later than 72 hours after the issuance of an order described in paragraph (1), the Secretary of Defense shall submit to the Attorney General a record of the order. (j) Treatment as lawful order A military court protective order shall be treated as a lawful order for purposes of the application of section 892 (article 92) and a violation of such an order shall be punishable under such section (article). (k) Command matters (1) Inclusion in personnel file Any military court protective order against a member shall be placed and retained in the military personnel file of the member. (2) Notice to civilian law enforcement of issuance Any military court protective order against a member shall be treated as a military protective order for purposes of section 1567a including for purposes of mandatory notification of issuance to civilian law enforcement as required by that section. (l) Relationship to other authorities Nothing in this section may be construed as prohibiting— (1) a commanding officer from issuing or enforcing any otherwise lawful order in the nature of a protective order to or against members of the officer’s command; (2) pretrial restraint in accordance with Rule for Courts-Martial 304 (as set forth in the Manual for Courts-Martial, 2019 edition, or any successor rule)