Oh when they entered Canada it was a tourist visa on demand at the border they never applied for a visa before hand.
They would have applied for an ETA so they could have said they were married. Even at the border if they declare they were married it will recorded .