Just another way cops can be terrible at their job and get away with it. If only citizens could use the Chappelle defense, "I'm sorry officer, I didn't know I couldn't do that".
This isn't some innocent person who is spending time in prison because of a legal technicality.
The idea that they would have been able to get a warrant limits the damage, but it's still iffy.