Though much of James Dyson's autobiography is a fairly tedious account of his patent struggles, he did relate his experience of Japan. He sought the services of consultants who advised to learn the customs, and to work out someone's status so as to choose the appropriate greeting, and so much other stuff that he just thought:
"Sod it... I'm never going to convince them that I'm Japanese, and anyway they want me here because I'm not one of them... I may as well act like an Englishman, and concentrate on delivering what I'm here to do."
That's not to say that you shouldn't keep some basic human wits about you when abroad... even as a child, I remember a funeral passing through the square of small French town... and all bystanders took off their hats and looked respectful, except for one loudly dressed American family.