Dumb ordinance..Its his car maybe he was setting up a sting
Actually in most places it’s state law. Check the statutes where you live and I bet you’ll see it is there as well