I don't think it's the driver.

I suspect even a mediocre driver in the RS6 could hang with the M5 driven by a very good driver on a twisting mountain road. An equal driver would no doubt pull away.
In a straight line, forget it; even a grandmother in the RS6 is likely to outrun even the best driver in the M5.