Please read up on what a permanent establishment means from a tax perspective. Most countries tax laws, especially EUs unambiguously state that the Estonian company will be taxed as if it was a company in your primary residence country. The e-residence website repeats this many times, with many examples focusing on Germany. https://learn.e-resident.gov.ee/hc/en-gb/articles/3600025428... The whole e-residence thing on…
I don't have the issues you're talking about, I pay corporate taxes in Estonia, and I pay income taxes in Romania.
I thought Germany was a well-known country that is incopatible with this model (curious how things will change with EU Inc), but asking an accountant in your home country of tax laws and double taxation treaties will be better than random internet people.