Pretty sure that sort of statement relates to standardised AI interrogation of data (ie. automated surveillance of anyone and everyone, or similar interroragations that occur without actually investigating a crime), as your example is very similarly worded to the below (using google translate):
General rules of data storage and other data processing
(1) The police can store personal data in files or files and process them in other ways, insofar as this is permitted by law.
(2) 1 Storage and other processing may only take place for the purpose for which this data was collected. 2 Processing, including renewed storage and modification, as well as transmission for another police purpose, is permissible if the police are permitted to collect the data for this purpose or if this is otherwise specifically permitted.
(3) 1Data that has been collected without the conditions for its collection having been met may only be processed further if
1.this is necessary to avert an imminent danger to a significant legal interest referred to in Article 11a Paragraph 2 No. 1 or No. 2 or to public goods whose threat affects the basis of human existence and
2.the independent body set up for this purpose or the competent court has released them because after their examination
a)no content is affected for which the testimony could be refused according to §§ 53, 53a StPO, and
b)the data cannot be assigned to the core area of private life or a relationship of trust with other persons subject to professional secrecy.
2 With regard to the decision according to sentence 1 number 2, Art. 41 para. 5 sentences 4 to 7 apply accordingly.
(4) The police may always process the following basic data of a person in order to determine the identity of the person:
other names such as nicknames and other spellings of names,
Date of birth,
Place of birth,
current nationality and previous nationalities,
current whereabouts and previous whereabouts,
date of death as well
(5) 1The duration of storage is to be limited to what is necessary. 2 Deadlines must be set for automated files by which it will be checked at the latest whether the storage of data is still necessary (test dates). 3 Examination dates or retention periods must be specified for non-automated files and files. 4 The following must be taken into account:
1.the fact that it is data that belongs to special categories within the meaning of Art. 30 Para. 2,
2.the circumstance as to whether the data is based on facts or estimates within the meaning of Article 30 (3),
3.the different categories of data subjects within the meaning of Art. 30 Para. 4,
4.the storage purpose and
5.Type and significance of the reason for storage.