I think you meant to write "What a Catholic statement!" since it is hardly outlandish.

https://www.ncronline.org/news/global/australian-priest-advocate-womens-ordination-excommunicated

The relevant Canons are  751, 1367, and 1369.

http://www.vatican.va/archive/ENG1104/_P2H.HTM

751 Heresy is the obstinate denial or obstinate doubt after the reception of baptism of some truth which is to be believed by divine and Catholic faith; apostasy is the total repudiation of the Christian faith; schism is the refusal of submission to the Supreme Pontiff or of communion with the members of the Church subject to him.

http://www.vatican.va/archive/ENG1104/_P52.HTM

Can. 1369 A person who in a public show or speech, in published writing, or in other uses of the instruments of social communication utters blasphemy, gravely injures good morals, expresses insults, or excites hatred or contempt against religion or the Church is to be punished with a just penalty.

Good Pope Francis.

1367 is there.