Volkswagen isn’t the first company to use software to break the law and it won’t be the last

"“Here’s an extreme example: What if Amazon’s robotic warehouses could reorganize themselves to meet fire code requirements with very little advance notice of an inspection?” said Ryan Calo, a cyberlaw expert at the University of Washington.

“Other places I’d be worried about include speeding cameras, voting machines, and slot machines,” Calo said.
“As everyday objects become smarter and more connected, we’ll need to worry about more nuanced evasions of law. We may also eventually worry about emergent behavior that violates the law without the engineer so intending,” said Calo."