Court ruling sets precedent for hundreds of thousands of car owners affected by VW emissions test cheating in Germany.