Commercial Fixed Wing
Flight Crew Instrument; Flight Crew Air Transport Pilot (ATP); Flight Crew Multiengine
Communication Breakdown; Distraction; Time Pressure
Deviation / Discrepancy - Procedural FAR; Deviation / Discrepancy - Procedural Published Material / Policy
General Flight Cancelled / Delayed
Environment - Non Weather Related; Company Policy; Human Factors; Procedure
In flight between ZZZZ-ZZZZ1; we received an ACARS message from Duty Pilot stating that there was going to be an issue with my duty time compliance. I called scheduling and Duty Pilot. He explained that the X foreign government had moved our departure slot time out of ZZZZ1 later by 90 minutes; and this would not allow me to return to ZZZZ to start my scheduled duty time compliance in time to be legal. Duty Pilot; advised me that the Operations was involved and in contact with the FAA and all were working on a solution. After about an hour I received a call back. They looked at moving the airplane to ZZZZ2 or deplaning the crew to go into rest. Both of these requests were denied by the foreign country. I was advised by Duty Pilot; that we as a crew did nothing wrong and were legal to operate ZZZZ-ZZZZ1 at the time of departure. He said my only option was to continue the flight back to ZZZZ and file a report. The return leg was uneventful and I entered my rest period less than 1 hour later than what was legal.In doing a 7 day look back; crew scheduling had ample opportunity to better schedule my previous duty time compliance; so that a 90 minute delay would not have caused this issue. In our defense; we were not able to convince the foreign government to file a flight plan to ZZZZ2 and due to the COVID-19 pandemic; the crew was not allowed to get off the aircraft in ZZZZ1.
Air carrier First Officer reported an issue relating to duty time compliance.