I would have pulled out my phone, set it to camera, and asked them to smile.
That is some seriously f*ed up crap, though. I don't think I would have remained as calm as you. I would have told them to suck it.
What would stop them from just taking your phone?