Yes different Countries have different rules.
We had an unusual situation some years ago on International Operations, Australian registered and owned Aircraft, our Chief Pilot (an Aussie) could NOT fly as a Captain only a First Officer while we were in US airspace, he was a Captain when outside US airspace, and always the Chief Pilot.