Yep, in response to his polite gesture of taking off his beret they had not but to take their backs off their seats and greet him with a bow.

Раскланяться is way more ceremonial than just кивнуть (nod).