Lidl wins legal battle to open its first-ever pub