Running the following gcode will give a particularly crazy path (see purple path on the screenshot). Clearly allowing I0 J0 for the control point doesn't make sense.
G0 X0 Y0 G5.1 I0 J0 X1 Y1 F999