Whether you’re in Spain, France, Australia or the Middle East, local laws can land you in hot water before you even know what you’re doing wrong