I went to Europe in early 2014 to visit a friend, I was 18 y/o and due to problems back home I ended up staying there for a year and then I left in late 2015 without any problems.
Then I went back to visit again in 2015 again got in without any problems and stayed another year and left in 2016, came back home without any problems.
But what I didn't know was that I could only stay there for 3 months on my passport because I never got in trouble or anything so I didn't think it was an issue. It's only now when I'm thinking about getting a work permit over there that I came to realize I need a resident permit, so I'm wondering.
What might happen if I apply for the work permit and resident permit since they need to see the stamps on my passport, what could possibly happen?