RE: can you attack an excommed faction after the Pope warned you not to while it still wasn't excommed?

Good question; I could see an overlooked conflict here.

RE: Year 3. The Pope sends me 1000 florins.

Has anyone ever determined what causes said Popes to give money? I used to think it was for ending heresies but it seems, well, random.