§ 45 Scope

1 The provisions of this Part shall apply to the processing of personal data by public bodies competent for the prevention, investigation, detection or prosecution of criminal or administrative offences or the execution of criminal or administrative penalties, as far as they process data for the purpose of carrying out these tasks. 2 The public bodies shall be regarded in that case as controllers. 3 The prevention of criminal offences as referred to in the first sentence shall include protection against and prevention of threats to public security. 4 The first and second sentences shall also apply to those public bodies responsible for executing penalties, measures as referred to in Section 11 (1) no. 8 of the Criminal Code, educational or disciplinary measures as referred to in the Juvenile Court Act or fines. 5 As far as this Part contains provisions for processors, it shall also apply to them.