Thank you for sharing your situation with the Wefugee Community!
Do you have all required documents to marry your fiance? You may want to read our blog for more information on this. I assume that it will be the best to marry as soon as possible. However, I am afraid that it will be at the discretion of the immigration office at the end, if they ask you to leave the country again or they issue a residence permit immediately.
As you are in a quite complicated situation, I would also recommend you to seek legal advice i.e. by a lawyer.
Please also do not hesitate to get back to us with any further questions.
All the best,