This was done a few years back in Switzerland by national television. With the approval of everyone involved, a pentester was supposed to shut down the street lights in a medium-sized town.
The pentester got in, got to the correct controls and "failed" because the UI bugged out. It was rather funny to see the journalist/moderator be relieved, while the rep from the energy company and the security specialist both clearly knew that that was sheer luck and with a little more time the pentester could've gotten around the bug too.
Edit after checking the story again: The hacker thought he found the main control but was wrong and only turned the lights off in a tiny side street. So it did work and the "bug"/"luck" was that the UI was so confusing that the attacker got it wrong :D