It is right there in your link. You probably didn’t even read the article and if you did, your inability to read and comprehend what you read is astonishing.
It's the United Grand Lodge of England's law:
Gender Reassignment Policy
And it passed six years ago, in 2018.