The ruling is expected to go down as among the most consequential court decisions of the digital media age.