KARLSRUHE, Germany -- A German federal court judge ruled that Volkswagen has to pay compensation to motorists who purchased vehicles with manipulated diesel engines, a major blow for the automaker in its home market as it continues to reel from the emissions scandal.