And here's our final link with tritone substitutes.
The basis of these substitutes is the diminished scale.
If we replace the root of a dominant chord with the b9, we get a diminished chord.
And if we lower ANY note in a diminished chord with a note 1/2 lower we get a dominant chord.
C#° = C7b9
C#° = A7b9
C#° = F#7b9
C#° = Eb7b9
If you were to combine all the arpeggios of the C7,Eb7, F#7 and A7 you would get the C half/whole diminished scale. (I think I made my point that they're all related).
So you can replace a dominant chord not only with a dominant a tritone away, but also a minor 3rd away in either direction. Which is what's happening here.