Welcome to the reality that people from outside of Europe have been facing all the time.
When I was living in Asia, whenever I was traveling with Asian colleagues and using the same line they used, I often experienced that.
If in the "Non-EU-Citizens" line in front of you there is a traveler with a passport from Bangladesh, Mongolia or Afghanistan, typically the border guards need a little more time to check out the visa and everything else.