There are plenty of nightclubs that do this, and police frequently mandate that they do so as a requirement of operating their alcohol license in the UK. It's completely legal.
It would be very unusual for a restaurant to do so, but I'm wondering if it might have been a restaurant with a nightclub attached (if we're talking central London here maybe Tiger Tiger?). That's quite plausible.