On normal days the only TBIT arrivals are Oceania and Central America, neither of which have service to both SFO and DEN. So it stands to reason that OP is talking about a flight from TYO, LHR, or Mexico, all of which should arrive and clear FIS at T7.