Simple, if you are doing IOE for a Capt until his line check you are the PIC. A Stan ride does not have you logging pic and any FO is PIC.
SOE, is not PIC if giving it to another capt as he is the one signing the release.
Real simple. You sign for the jet, you are the PIC.