In connection with an emergency under which a pest or disease of livestock threatens any segment of agricultural production in the United States, the Secretary may transfer from other appropriations or funds available to the agencies or corporations of the Department of Agriculture such funds as the Secretary determines are necessary for the arrest, control, eradication, or prevention of the spread of the pest or disease of livestock and for related expenses.