The Secretary of Agriculture is authorized to cooperate with the Territories of the United States on the same terms and conditions as with States under sections 564 and 565 1 of this title.