A 40-year-old German from the nearby state of Rhineland-Palatinate has been detained in relation to the car ramming attack on Monday which killed at least two people and injured 10 others.