In any of these cases you would have to register in Germany, apply for a German VAT number and at the same time be obliged to forward regular VAT submissions to the German tax authorities.
Nikosax would be pleased to handle these difficult demands and work routines for you. This goes not only for Germany but also for many other countries.