The stretch of A515 along which O 'Reilly was caught speeding with the pilot time-and-distance device was described in court as " hazardous " because of its hidden dips , farm entrances and side roads .