Similar thing happened to me after marrying my British hubby. Threatened to be deported from the UK after following all the protocol and put in a holding area with a guard to be sent back to the US.
Crazy.
Long story.
I guess it all turned out OK?