I have neen excommunicated three times in a row as french for getting attacked and retaliating by siezing enemy territory.

First I got excommunicated for fighting fellow christians when I defeated Aragan and regained Toulouse by bribing brigands that came up during the siege.

Then I got excommunicated when the British siezed Tolouse and I responded by siezing the rest of France.

Is there any way to pay the Pope for an indulgence and lift the excommunication?