This chapter does not authorize any activity that is prohibited by the Penal Code.