Ya, I did that in a museum in Paris. I had a new DSLR and when the flash is down and the camera automatically detects it needs it, it pops up and takes the picture. I actually didn’t realize it had popped up and the flash went off, two seconds after the guide said “remember no flash photography”.