Some food for thought: RAM timings are practically the same in absolute time regardless of RAM speed. At least as far as human time scales are concerned
Though let's play with this. What if we take bandwidth + latency into account and do a 4 KiB transfer? i.e., a worst case scenario. And let's use the Adata XPG Z1's metric.
DDR4-4000: 4096 bytes * 0.250ns/byte + 17.9ns latency = 1.0419 us
DDR4-3466: 4096 bytes * 0.288ns/byte + 16.3ns latency = 1.198 us
So the DDR4-4000 setting is still faster overall.