When a pub locks its doors to the public at the end of the night so nobody new can come in. It essentially becomes a private event and the usual licensing laws don’t necessarily apply. I think the law is a bit of a grey area but basically they wouldn’t necessarily have to abide by the usual laws a pub would have so anything goes