122C-333. Order of another state.
The judgment or order of commitment by a court of competent jurisdiction of another state, committing a person to the Veterans Administration or another federal agency that is located in this State shall have the same force and effect on the committed person while in this State as in the jurisdiction of the court entering the judgment or making the order. The courts of the committing state shall retain jurisdiction of the person so committed for the purpose of inquiring into the mental condition of the person, and for determining the necessity for continuance of his restraint. Consent is given to the application of the law of the committing state on the authority of the chief officer of any facility of the Veterans Administration or of any institution operated in this State by any other federal agency to retain custody, transfer, parole, or discharge the committed person.