Were they "married-married?" Did they stay married, or was it just a sham paper marriage for passport fraud? If so, then "Oh, well." /S
She’s a Muslim, so maybe...
But in either case it was illegal.