This type of thing makes me super uncomfortable.
IDK how things roll in Canada but here in Australia census is now linked to your identity although they claim to de-identify the data later on. Unfortunately the Australian Government has demonstrated many times that they're just incapable of handling this type of information responsibly.
We don't have an authoritarian government but that could change. They don't need a list of all the non-hetero people in Australia.