It's against the law to knowingly allow an attractive nuisance to remain in place.
They knew darn well that it's against the law, and they did it anyway.
Being in principled opposition to a law's existence or wording, or to a school of thought about its application.
The mayor said that the law was passed last year, but also that he believes that most of the citizens are against the law and would support its repeal.