However, there's one additional point to bear in mind. Diffraction will not make the image on a sensor with more, smaller, pixels worse than the image on a sensor of the same size with fewer, larger pixels. The image will, in theory, be better or the same.
The nature of digital makes that a bit uncertain.
The reason is that with a higher resolution, some pixels are going to be capturing the edges of the airy disc whereas with a lower resolution, none will (assuming the same aperture setting on both). When you downsize the larger resolution to the smaller, the pixels that captured the edges will be merged in with others that captured something closer to the center, but that result is still worse than one where none of the pixels captured the edge.
With a high enough resolution, the number of pixels that captured the center portion will tend to dominate enough that there should be little difference, but up until that point it's unclear to me how much worse the result will be.

