[@babbysama][@The Omnipotent Sphere] Another defense is actually starting a war between another nation and the attacker. Use spies to plant (true or not so true) information about the attacker in courts of another nation. Offer to fund an attack. Then the attackers have to pull back to defend their own lands.