Armed neutrality, in international politics, is the posture of a state or group of states which makes no alliance with either side in a war, but asserts that it will defend itself against resulting incursions from all parties.
During the Second World War, Ireland stated that it would take the British side if invaded by Germany but the German side if the British stationed troops on Irish soil.