This kind of sloppy sloppy legislation doesn't seem to be confined to gender questions, though.
It seems like the current Liberal government, and I feel like it's the same in many other places, thinks the main point of legislating is just a kind of virtue signal, to show the country, or the citizens, or the world, what the right things to think are.
There is none of the serious work involved in making good strong laws that work to actually do something, and protect against abuse of the law, opportunism, are consistent with other legislation, or even just confusion.
People who ask questions about these topics, or whether certain ideas are best dealt with by legislation at all, are characterized as bad people, bigots, racists, whatever.
It's a bit like the way in the UK you will see people who are wary of hate crime bills, for very solid reasons, be called bigots. As if not supporting them means they agree it is good to hate women (or whomever.)
The gender ideology elements are some of the worst in that they effect is so devastating, ultimately because it is so anti-reality. But it all reflects this weird, sloppy approach to governance.