Each state agency shall cooperate with the superintendent of the Langley Porter Clinic, or with the University of California, as the case may be, to the fullest extent that its facilities will permit without interfering with the carrying out of its primary purposes and functions.