VATICAN CITY (AP) — The Vatican has declared that gender-affirming surgeries and surrogacy are grave violations of human dignity.

A new document from the doctrine office puts them on a par with abortion and euthanasia as practices that violate God’s plan for human life.

In its most eagerly anticipated section, the Vatican flat-out rejected “gender theory” or the idea that one’s gender can be changed.

It said God created man and woman as biologically different, separate beings, and said people must not tinker with that plan or try to “make oneself God.”