If a person ordered to be hospitalized under section 3864 is eligible for hospital care or treatment by any agency of the United States, the court, upon receipt of a certificate from the agency showing that facilities are available and that the person is eligible for care or treatment in the facilities, may order the person to be placed in the custody of the agency for hospitalization. [2007, c. 319, §11 (AMD).]