Federal government ordered to stop demanding proof of sex change surgery