As an example, in Spain it is illegal to have dashcams, and its content cannot be used in a trial - but you can share the content with insurances and policeman, and recording is generally not prosecuted. It is nonetheless an opening if an officer is searching for a way to fine you...