The United States veterans' administration, or other United States government agency, or the chief officer of a private facility shall have the same powers as are conferred upon the superintendent of a state hospital with reference to retention, transfer, parole, or discharge of mentally ill persons ordered hospitalized in their facilities.