in the railway servants' case, the high court held that the doctrine worked both ways, that is, it held that the states were also immune from commonwealth laws, in finding that a trade union representing employees of the government of new south wales could not be registered under federal industrial relations legislation.