What does a Check Captain sitting in the jump seat conducting a route check log?
He's not in a control seat - I don't see that point as relevant - but is certainly entitled to log it, and as Command time.
So, to answer the initial query, the Safety Pilot is entitled to log it as F/O time (assuming it is an F/O so rostered).