Flew for EK many moons ago in capacity of SFO. when we had 1 Capt 2 FOs or 2 CAPT 2FOs on the flight only One was the designated PIC on that flight. I spent many hours in the LHS during cruise never logged a single hour PIC.
The one who signs the paperwork is the PIC.