High Court ruling reshapes legal pay