I stayed 9 days extra in Denmark on a Schengen visa. Unaware of the overstay, I applied for a spouse type in the overstay period. This is when a cop there told me that you are overstaying. Meanwhile, the application for the spouse visa was rejected as it was applied during the overstay.
Then when i came back to my home country I applied for a Schengen visa again. It was rejected.
Now I have applied again for the spouse visa from my home country and waiting for the decision!