Treasury approach to Supreme Court is blow to consumer groups but chancellor fears damage to sector