Marriage on an expired visa!


My tourist visa expired a few weeks ago and I was advised not to renew it due to the number of stamps already in my passport (and the problems that foreigners are getting at immigrations), and just await my documentation to apply for a one-year visa.
The documentation is taking a lot longer than expected and I'm now looking into marrying my partner in order to get out of this mess! Problem is, my tourist visa is already expired and I believe you need a non-expired one to get hitched. Does anyone know otherwise or have any experience in this area?