Intricacies of determining the tax residency of individuals and legal entities in European countries