Good thinking!
But what if you were already in country B, not your home country, be it on holiday or anything else?