Consider three versions of a Hajj chronology:
Case 1: Intercourse before Arafat: invalid Hajj, sheep, complete rites and make up Hajj.
Case 2: After Arafat but before shaving: Hajj not invalidated, badanah.
Case 3: After the prescribed shaving: Hajj not invalidated, sheep.
Changing the stage of the rites changes the legal result.