A Proposal for Harmonizing the Rules on the Allocation of Taxing Rights within the European Union and in Relations with Third Countries