Upgraded foragers are locked though.
If you map doesn’t support herbs for example then the forager can’t grow them.
Only way you could do the barn is by buying/ordering grain from a trader. They don’t do hay or root veggies so grain is your only option and you probably want that for the bakeries for bread which is another food variety.