The criminal justice system combines at least three distinct institutions, police, prosecutors, and courts, in order to enforce key regulations. Focusing on criminal environmental law contained in the German Penal Code, this paper empirically studies the determinants of enforcement decisions at the levels of the police, prosecutors, and judges using a production function approach. We focus particularly on the role of economic and political factors and their comparison across institutions. The results of the panel data analysis show evidence for the presence of economic factors determining behavior at all levels. Political factors impact especially on police and court behavio