He then jumped out, emptied a canister of gas over the vehicle, and set fire to it, Wagner said.
By the time the fire department got to the scene, the car was entirely burned out.
The Bavarian man, whose name was being withheld because he has not been charged with a crime, told police that gas prices were so high he could no longer afford to drive the vehicle.
As in many countries, gasoline prices have risen steadily in Germany; a liter of regular gasoline now costs about euro1.55, or $9.40 per gallon.
Police were investigating whether the man could be charged with violating German environmental laws with the stunt, Wagner said. Penalties range from fines to five years in prison.