Case 1: a pilgrim is in ihram but still outside the Haram. The hunting restriction of ihram remains relevant.
Case 2: a person is outside ihram but slaughters protected game inside the sanctuary. Al-Quduri’s clause assigns compensation there as well.
These are distinct legal grounds: ritual status in the first case, sacred location in the second. One event may engage more than one legal framework, but that requires its own juristic assessment.