The Supreme Court partially upholds an appeal from lenders, who had faced potentially paying compensation to millions of motorists.