I would like to understand the following (because Google returns suspiciously low number of records for this form):
A: I saw him there.
B (joins the conversation): Hey, have you seen John lately?
C: He has just said he had seen him there.
Is it OK to use present perfect and then reported speech shifted back (from past simple to past perfect)?