§ 3 BDSG
Processing of personal data by public bodies
(1)The processing of personal data by a public body shall be permissible where it is necessary for the performance of the task assigned to it by the public body. The provisions of the second sentence of Section 1 Subsection (8) shall remain unaffected.