I am an Indian passport holder with a German residence permit. I was traveling to Barcelona, and in the airport one of the security misguided me and I went past immigration and got stamped. Then I realized that was for boarding flights outside Schengen zone. I then told the situation to the police who guided me back through the transit and there was an entry immigration again and my passport got stamped after checks and questions. And I was able to enter again. I have an exit and entry stamp within 10 min.
I am just in a bit of a panic mode after this incident. Could any of you let me know, if there will be any impact on my immigration status or the residence permit?