Fees for inspection under a cooperative agreement with any State or person shall be disposed of in accordance with the terms of such agreement. Such portion of the fees collected under a cooperative agreement as may be due the United States shall be remitted to the Service.