Numbers of cows and sheep will have to fall by a third, with their farms replaced by huge areas of new woodland.