I'm sorry but that's insane. No, it isn't.
[grammarian]
English does not have distinct second-person pronouns for different sexes. English has distinct
third-person pronouns for different sexes.
[/grammarian]
It says right in the article that they have an equal rights law since 2010 - they aren't allowed to harass people for religion, race, gender
The anti trans people just cherry pick this garbage out of broader laws.
They want a carve out so they can harass trans people.
Harassing someone implies interacting with him or her, which generally involves saying "you", not "he" or "she". If you call people "he" or "she" to their faces they'll just be confused and imagine you're abusing somebody else, not them, which will kind of defeat the purpose of harassing them.
People use "he" and "she" pronouns when they're talking about a third party. You mentioned religion. Well then, is it your contention that the 2010 equal rights law prohibits one Christian prisoner telling another Christian prisoner that Islam is a false religion? Is it your contention that that's "harassing a Muslim"?
DrZoidberg is correct. Claiming it's harassment to misgender someone with pronouns is insane.