I've tested the same, System is allowing to cancel the GR (If IR is there only for delivery cost).
I assume, its a standard, also I've not found any sap note regarding this.
You can prevent this by using your own development/enhancement(exit or badi).