New legal advice sought by the Australia Institute contradicts what government has been telling stakeholders