If the Australian Supreme court upholds the ruling that a FTM transgender person "cannot be considered male if they have functioning internal and external female reproductive organs" a FTM would be required to obtain a prohibitively costly and dangerous surgical operation not available in Australia that would at best produce a sexually inoperative substitute penis.

The alienation and criminalization by Australia making transgender people gender outlaws.

Wouldn't a ruling like that be discriminatory if not applied equally to all of the population including cisgender people and not just a segment?

Perhaps what is needed is a compulsory 'reproductive ability' test administered to the general public determining gender. Male, female and undetermined.