If a civ is friendly, the chance it will attack is zero. It's also much easier to sign a defensive pact, if we want. On the other side, Spain isn't a threat because it's been crippled by the early war, and Rome is overseas, and, as Blake would say, we all know how good the AI is at attacking...