Bicycle rider `an accident waiting to happen', court told