The office was renamed to Ministry of Justice and Law Enforcement after the 2006 election. He is involved in controversial plans to allow possession of pornographic material involving people between 14 and 18, created and used exclusively by the participants. However, there is no plan to change the existing law (Hungarian Penal Code 195/A ) that prohibits people over 18 to take, share or circulate pictures of people under 18, therefore much of the controversy derives from misinformation.
Most of the events took place in Budapest and other major cities between 17 September and 23 October. After the siege of the Magyar Televízió building (18 September 2006), Petrétei resigned but Gyurcsány disclaimed his decision. On 20 May 2007, Gyurcsány announced the resignations of József Petrétei, National Police Chief László Bene and Budapest Police Chief Péter Gergényi.
Gyurcsány said the move is intended to restore public confidence in Hungary's police and justice systems. News stories attribute the move to recent police scandals and the cloud cast by the disproportionate use of force during the 2006 anti-government demonstrations. Later, in 2010, Petrétei said before the parliamentarian sub-committee which investigate alleged contraventions, police crimes or maladministration during the 2006 protests that he did not give instructions to the policemen and he saw the Budapest riots and the MTV siege at his home on 18–19 September.
He did not know about that a political intervention would have happened into the police's work.