You can also station an emissary (or preferably a bishop as they're less likely to be assassinated) in the smaller faction's provinces and ensure that you can get to their lands by Sea (Denmark, Aragon and the Papacy are all candidates for this). Then if they get invade and besieged you are in a position to break the siege every time. This is also good as it adds to your faction leader's influence.