Gday guys just a quick question about the stones classic Stray Cat blues.

Firstly, the song is in the key of D.
Now can anyone tell me how the intro/main riff which goes D C G G F D sounds 'correct'.
( Both Cmaj and Fmaj have no place in Dmaj )

Has Richards simply borrowed these chords from the parallel minor? Or is there a more complex theory behind this?