There was as big stink in Seattle a couple of years ago where the city was being accused of instructing the meter maids to enforce parking to the letter of the law as much as possible. They denied it, of course, but they had a hard time explaining the guy that got a ticket for leaving his lights on when he parked. :)
The really funny part was that the Rita had a hard time finding just the right thing to actually charge him with. That is because, as it played out, the city admitted that it is not illegal to park with your lights on.
I’ve said, since about 2006, that as cities get cash strapped, one effective way to increase “taxes” is to start “iron fist” enforcement of laws - speeding tickets for going one mile over, stuff like that. I’m actually surprised that it hasn’t increased all that much, or if at all, frankly.
My Oldsmobile turns the headlights on when I use the wireless remote to open the door.
The headlights automatically come on when it is determined to be "dark" out.
The headlights remain lit for about 5 seconds after the engine has been turned off.