Not up to date but it used to be dead simple. Wherever the aircraft was registered , you needed that country's licence to fly it.
Licencing is standards. Once you have your PPL, CPL, SCPL, ATP etc, you are qualified to exercise the privilages of the licence.
Climb into anything with registration, you need that country's issuing licence to fly it anywhere..