> Wikipedia has a table that claims your friend is wrong
"Consent required for action related to a picture of a person in a public place"
a restaurant is not a public space.
In this case, the person is outside and not on the property; if the restaurant wishes to be private they can take measures (curtains or blinds) but they’ve chosen not to.
This is where jurisdictions differ and is not cut-and-dry.
This implies restaurants. Another paper by the EU commssion regarding terrorist soft targets describes crowded spaces as public spaces as well.
Given all this, I assumed that some countries in the EU share this definition, and some don't. Because in the end it's up for each country to decide, and it's always a mess like that.
[1] https://allaboutberlin.com/guides/photography-laws-germany
I'm not sure I'd trust random wikipedia page to be up to date on this, but it's good evidence at least that there isn't a EU-wide prohibition on taking pictures of people (without publishing them) without consent. Also that there are some EU countries where it is likely illegal.