I believe it does matter and would cause errors. This is also seen when dealing with the quality of the cable, the device will still work but you may get errors(ie. when dealing with rounded cables some people suggest getting good quality cables cause of errors).
Even if it doesn't cause errors, it might not work to spec and give you a lower speed. ie. ata100/133 not working as fast and giving you ata33.