That seems like an obvious reaction to the fact that criminals (once they were prevented by activation lock from selling stolen iPhones) started parting out stolen iPhones and selling the parts to repair shops.
I think a better approach would be for Apple to only block the replacement part if that part has a serial associated with an activation-locked phone, but I'm sure it's easier to just block everything except for the replacements shipped directly from Apple.