If you're in a tight situation and are heavily outnumbered, instead of being in a field and getting surrounded try using your church as a makeshift fortification.
No you didn't there are multiple areas to control sometimes when you establish a new area with no proper defense and the enemy chose to attack that place this a useful last stand tactics it buys significant amount of time for your main army or reinforcement to arrive or even defeat and repeal the attack
Since villagers tend to hide in the church, at least they are safe. And as long there are your soldiers within reach, raiders will leave your buildings alone.
had something similar happen where I had only one spearmen unit of 20 vs four raider units; funneled them into a street and took out 3 units and halfed the fourth
The threat never even reaches my village, I always spot them walking when their still in the next region and just find a good spot to intercept them far from my town
This might also be possible to some extend with burgage plots. They only have two entrances, and the fence is impassable. Next time I start a settlement, I will try building long burgage plots parallel to the region's border, put my archers inside, and plug the entrances with spearmen.