You need permission from Mathworks to use a license in a different region.
I have never spoken to Mathworks about how they handle such situations, so speaking only on general business principles:
Mathworks charges different fees for licenses in different areas, reflecting partly "ability to pay". They do not want people just purchasing at the lowest cost worldwide and then using the license in more expensive regions. It would therefore not be unexpected if Mathworks were to tell someone who asked that it was fine to use a license purchased in a more expensive region while working in a less expensive region, but that they could not use a license purchased in an inexpensive region in a more expensive region.
Probably India is a lower price region than Germany, so my expectation would be that Mathworks would deny permission.
What I have not heard discussed is whether Mathworks might permit you to just pay the difference in prices, or if they would require you to re-purchase. I think difference in price would not be unfair. But there could hypothetically be complications, such as hypothetically they might require that you bring any software maintenance service up to date (I just don't know.)