I have a residence permit as a student in Greece, which expires on the 31st of July. I'm currently in Spain, waiting for appointment to get married to a Spanish citizen. We started the marriage procedure more than 3 months ago, beginning in March. We got the okay from the Court of Justice, but its schedule is full and we're still waiting for their call for us to sign the final papers.
Will I have problems if I stay in Spain until we get married and leave just after that?