I can’t comment on European taxes specifically but you can be liable to pay tax in two countries for the same gain.
If you are taxed on the gain in Europe you would still be separately taxed in the UK. There are tax treaties in place between some countries to reduce or remove liabilities so it’s worth thoroughly researching if you’re invested in Europe.