Eight men from Pakistan and India were arrested by the British immigration officers in Gretna on Wednesday as part of an operation targeting sham weddings.
They were apprehended moments before six ceremonies were to be held, media reports claimed.
The Home Office said the men, aged between 27 and 40, were all in the United Kingdom (UK) illegally.
They had all travelled to Gretna from different areas in England, including Bradford, Manchester, Southall, Blackburn and Wolverhampton.
They included five would-be grooms and three guests who were due to attend the ceremonies at Gretna Registration Office.
Six of them were detained, their removal from the UK pending, while the remaining two were instructed to report regularly to the Home Office while their pending immigration cases were concluded.
The would-be brides from the CzechRepublic, Romania and the UK were interviewed and released.
Anna Beattie, from the Home Office Immigration Enforcement team, said that anyone residing illegally in the UK should “take heed” of the latest operation.
“Expect to be caught by us and removed from the UK,” she said.
The Home Office was working with colleagues at registration offices throughout Scotland and received intelligence from a wide variety of sources, she said, adding it would not hesitate to act against those who mistakenly believed that they could abuse the immigration system.
A sham marriage or civil partnership typically occurs when a non-European national marries someone from the European Economic Area as an attempt to gain long-term residency and the right to work and claim benefits in the UK.