Kommune taber sag om millioner