In the booklet I mentioned earlier there is a section about alcohol. It says:

If you are 16 or 17 years old you can drink beer, wine or cider at the table mean in a pub or restaurant if bought by an adult

A few bullet points later it continues

It’s illegal to buy alcohol for someone who’s not 18.

What am I missing ?