Instead of posing for happy snaps with her new husband, Cecilia Siaw was pictured in her wedding dress and finest jewellery at a police station.
Home Office officials dramatically swooped on the ceremony and arrested Siaw over immigration offences.
The bride-to-be, 45, was hauled away from the ceremony where she was due to marry her German fiancé at Portsmouth Register Office, Hants.
Ghanaian Siaw, has now been jailed for six months.
Portsmouth crown court heard Siaw, of Portsmouth, overstayed her leave to remain in the UK and bought a dodgy identity document.
The court heard Siaw, a qualified teacher, entered the UK in 2009 legitimately but the Home Office refused to extend her leave to remain in 2013.
Siaw, who was also studying at the University of Portsmouth, forked out £5,000 to a man she didn’t know on a train for a ‘leave to remain’ identity document which was registered to an Indian man.
She claimed the man who sold her the document said he worked for the Home Office.
However, Siaw, who worked as a healthcare worker looking after vulnerable people after studying for her master’s degree, was exposed when she used the fake document at work.
The Home Office were able to spot the discrepancy and swooped in to arrest her on June 22.
Prosecutor James Kellam said: “At interview she claimed she bought the document from a man on a train in circumstances which must have alerted her to the document being either false or improperly obtained.
“I say that because the man from whom she bought the document, she says, claimed to work for the Home Office and the defendant said she paid £5,000 for a leave to remain document.”
Siaw admitted one count of possession of an identity document with improper intention and one count of knowingly remaining in the UK beyond the time limited by leave to remain.
Oscar Vincent, defending, said: “At the time of her arrest Mrs Siaw and her husband were at Portsmouth Register Office for a ceremony to register their marriage in the UK.
“She was arrested in her wedding dress immediately before the ceremony.”
He added: “This is a lady who on completion of her studies in 2011 genuinely has made a contribution to the UK.”
Sentencing her to six months in prison, judge Roger Hetherington said: “I have no alternative but to impose an immediate prison sentence.”