Chief Justice John Roberts, writing for the majority, called misguided the 1984 ruling in Chevron versus the Natural Resources Defense Council, a ruling that gave bureaucrats more power than judges when laws are ambiguous.