I did this back in High School with a power inverter and some of those early chase lights. I wondered if it was legal, however, I was particularly careful to keep from putting lights anywhere near the headlights / taillights.
From looking at the photos / news story, these lights are all over the brake lights / turn indicators. I can see why they might have an issue with the placement. Alternatively, I've seen much worse...