I am an exchange student in Germany, with a type D visa for the length of the semester (around 5 months), however, I was offered an internship as well as I am applying for an intensive Germany course for the period of 7 months. I went to the Foreigners Office and they told me it is possible to apply for a residence permit if I provide them with a proof from the deutschkurse or the internship, proof of accommodation, and proof of subsistence. However, a friend of mine just came back from the same Foreigners' Office asking for the same thing and they told him that he would have to go back to our country of origin (Egypt) and then reapply for a new visa? I am a little worried now and I would like to know if I can actually get a residence permit in this condition or not? I have to decide soon.
More of a comment, but I need space to quote.
Während des Aufenthalts nach Absatz 1 oder 1a soll in der Regel keine Aufenthaltserlaubnis für einen anderen Aufenthaltszweck erteilt oder verlängert werden, sofern nicht ein gesetzlicher Anspruch besteht.
That means roughly
During a stay in accordance with section 1 or 1a generally another stay for another purpose shall not be given or extended unless there is a legal requirement.
Under which section did you get your initial student visa, and is the internship legally considered a paid job?