In greeting or thanking another person, it may be insulting if the person of lower status does not bow appropriately lower than the other person. However, foreigners are rarely expected to bow. The level and duration of the bow depends on status, age and other factors.