A plane was forced to make an emergency landing because the almost 400 cows it was transporting were giving off too much heat.