Women who are religious would need their marriage annulled by their relisious community. A legal annulment would not solve that issue for them.
People are saying some religious women can't get divorced. Well of course they can, legally, it's just not recognised by their religion.
I'd be pretty sure that 'chnaging gender' would be a reason for the Catholic church to grant an annulment as they are against genedr ideology, but the government position on this wouldn't make any diffrence to that.
I'm not sure where Muslim or Jewish women would stand if religious?
I'm only making this point becuase I think the argument being made here that a legal annulment is crucial for relgious women is a misunderstanding of the religious view of marriage.