The relationship between domestic tax systems and tax treaties