If on the determination of a criminal or juvenile delinquency case before the Superior Court it shall appear that the guilt of the defendant or delinquency of the child is attributable in whole or in part to the existence of deleterious, degrading or deteriorating conditions, practices or influences within the municipality wherein the convicted defendant or delinquent child resides, the court shall send a report as to such conditions, practices, or influences to the governing body of the municipality in which the convicted defendant or delinquent child resides.
N.J.S. § 9:21-1