I saw a question from way back in 2018 or 19. I'm answering this as it had no replies then. This is true, and has been in place even in the 70's. It was because people tend to dump their oil on the land [contaminating the water], and sometimes [well most the times] leaving the shell of the car on the property [creating an undignified site to the neighborhood]. Thus the law to stop it.