A person who, apart from the case mentioned in canon 1364 § 1, teaches a doctrine condemned by the Roman Pontiff, or by an Ecumenical Council, or obstinately rejects the teaching mentioned in canon 750 § 2 or canon 752 and, when warned by the Apostolic See or the Ordinary, does not retract, is to be punished with a censure and deprivation of office; to these sanctions others mentioned in can. 1336 §§ 2-4 may be added.
Source: Code of Canon Law (Vatican.va)