Even today I have seen cabin walkabouts by captains of one major I fly with. However, these are flights with 3 pilots, so I can't see that any rules are being breached. Same airline allows FD visits by industry related pax with I/D. They do however, comply with US regulations when inside US air space.