I guess it depends on who the employer is on whether they know already or not but ultimately they're going to be the ones who say yes you can switch in country or no you need to apply overseas.
If your income is Germany source income and paid to you in Germany then it's taxable in Germany regardless of your tax residency status there. This concept applies pretty much worldwide.