normally, it counts as a declaration of war on you by the neutral faction. If your 're-enforcing' your ally (in the message pop-up where they ask for your help), then you count as the aggressor, unless you reject it, then no war is declared. At least thats how i understand it.