Ah, ok I think would prefer retainers instead as they are a better unit imo
Keeping a decent sized army in the settlement is the best approach and use the best troops available ie greenwood guards instead of greenwood bows, the AI is just looking at auto resolve strength so you don't even need a full stack.is there a way to dissuade certain factions from attacking Elves/Dwarves even more?