The pope suggested last year that trans people could be baptised, and be godparents, which was taken as a move towards acceptance and inclusion. [Edit, sorry, Nitro, I somehow missed that bit of your post and have repeated it!]
https://www.theguardian.com/society/2023/nov/09/trans-people-can-be-baptised-in-church-and-be-godparents-says-vatican
This is what I meant by saying his statement seems nuanced. He has welcomed trans people to events and made supportive statements. His statement in the OP is about the ideology, not the people.
I dug a little bit and found this:
ON GENDER IDENTITY[02/2015]
"Let's think of the nuclear arms, of the possibility to annihilate in a few instants a very high number of human beings. Let's think also of genetic manipulation, of the manipulation of life, or of the gender theory, that does not recognize the order of creation."
(HRC comment: 'In Andrea Tornielli and Giacomo Galeazzi's new book Pope Francis: This Economy Kills, Francis condemns "gender theory," comparing it to nuclear war and genetic manipulation.4
His analogy stems from the Church's understanding of the gender spectrum within the restrictive duality of man and woman, rejecting the disconnection of gender identity and gender expression from biology. In reality, the pontiff's view, grounded in the Biblical story of Adam and Eve, ignores the existence and experiences of millions of transgender and gender variant individuals who do not fit the strict duality. And doing so would be a gross caricature of human history that hs provided space for the Biblical Ethiopian Eunuch and other gender variant people throughout the centuries.')
https://www.hrc.org/resources/seven-quotes-that-make-pope-francis-complicated-for-lgbt-people