haha this reminds me of a book I tried to read recently
the basic premise is that witches are real and have been a secret part of the government for centuries. There are also men (warlocks) that can do magic but women are much more powerful. Suddenly everyone is all in a tizzy because they find a teenage boy who is the Most Powerful Ever. But how can that be if he's male?....You guessed it.
Any of the characters who are of colour or gay/bi etc accept "her" immediately whereas those who are white/straight react at best with well-meaning kindness (but are patronisingly told off the moment they accidentally use the wrong pronouns and are told to educate themselves for going off appearances like a silly "mundane" (why yes that does sound like a complete rip-off of "muggle") and not using their inner eye to see the wunderkid's inner femaleness) or, in the case of the leader witch, immediately goes full on Terf and tries to murder the trans character.
I gave up reading at that point because it was just so poorly written - I was reading it as a bit of trashy escapism but you'd get better plotting and characterisation in one direction fanfic on wattpad...but skipped to the end and, lo and behold the evil Terf character is shunned for her crimes and sentenced by her peers to be ritually burned alive. So that's nice.
I mean, people can write whatever they want, but consider the absolute outrage about JKR's alleged trans discrimination in one of the Strike books, which when I got round to reading it consisted solely of a completely male murderer with no trans identification who, on ONE occasion briefly used a woman's coat to escape from the crime scene without being detected , it's a bit ironic!
Oh and the audiobook was read by Nicola Coughlan....