Well, if the pope is your ally, try attacking someone with an papal unit or fleet within range for reinforcement. They'll come to your aid and, alas, there's your foe at war with the papal states. At least, that's how I got a war with that guy in rome .