There is an even worse version of this. I have twice had the AI declare war on a race and set up his rally point in my space. The last time it was right in the middle of my empire (I had ~40 planets at the time, the rally point was not even close to his planets). This, without question, would trigger a war were I an AI. The AI should consider things like this when moving fleets and setting up rally points…And I want to give the AI the same back off warning it would give me.