In my experience attacking the Papacy is instant excomunication, unless you already attacked someone else.