(1) In the cases covered by Section 22 (2), data may also be transmitted electronically. Section 6a (1) third sentence shall apply accordingly.
(2) When photographs are to be transmitted from the passport authorities to the police and agencies of public order in accordance with Section 19 (1) first sentence in connection with the investigation of criminal offences and traffic violations, as well as to the tax investigation agencies of the Länder and the authorities of the customs administration in the context of the prosecution of criminal offences and administrative offences, such photographs may be retrieved using an automated process. Automated retrieval shall be permitted only when the passport authority is not reachable and waiting for longer would endanger the investigation. Law enforcement agencies at the level of districts and cities not associated with a district, to be designated by Land law, shall be responsible for retrieval. The retrieving authority shall be responsible for ensuring that the conditions in paragraphs (1) and (2) second sentence are met. The authorities involved shall keep a record of all retrievals to enable their permissibility to be checked. The records shall contain:
1. fore- and surnames and date and place of birth of the person whose photograph was retrieved,
2. date and time of retrieval,
3. the offices involved in the retrieval,
4. the name of the persons performing and responsible for the retrieval, and
5. the file reference number.
Section 22 (3) fifth sentence shall apply accordingly.