Depends on the bar - if it's a managed house they can't give anything away for free. They have a stock take every month or so which shows up every pint which goes missing, and 2 pints given to a contractor may be seen as misconduct and the brewery would kick off. The alternative would be for the bar person to pay for it out of their pocket, which wouldn't be fair considering they are on minimum wage.
That said things seem a bit more 'flexible' in countries such as Spain - where spirits are free-poured, in many bars you get a free shot with your first drink and can haggle over the price of a pint.
If I were working in Spain I'd almost expect to be offered a complimentary beer when I'd finished. In fact if I were OFFERED a beer (or drink of any kind) I would expect it to be complimentary. Even in the UK if a customer OFFERS you a drink you don't expect to have to pay for it.
Maybe the owner had previously worked in a managed house, was new to the Spanish way of life, or was just a bit tight.
Presumably the owner was British; where in Britain were they from?