If a unit is at the location where a berry bush spawns, the unit will be stuck there. villagers can’t move away, but if you give them a task, they will not be shown as idle. But they are stuck there helpless nonetheless.
I only tested it for villagers, but they are stuck in most cases if placed at the right locations.