Gay rights advocates have argued in Australia's highest court that the government does not have the power to bypass parliament to pay for a US$122m public survey on whether gay marriage should be legalised.