You’re in a public place, have no reasonable expectation to privacy, and the recording is not intrusive, so perfectly legal.
https://www.aepd.es/sites/default/files/2019-09/informe-juri...
For example, you can't use dashcam recordings of an accident in trial.
* And I don't want to spend a bunch of time reading law but quite sure this is very tied in with GDPR, so I'd say that most probably in all Europe everything you record on the street is still subject to the privacy rights of whomever you record.
Doesn't this entirely defeat the purpose of having a dashcam?
What's the rationale to that? Concern over manipulated videos? That would seem dumb if the video files are transferred at the accident (which happens in USA).