Via MacRumors:

iMac Pro and 2018 MacBook Pro Systems Must Pass Apple Diagnostics to Function After Certain Repairs … If any of these parts are repaired in an iMac Pro or 2018 MacBook Pro, and the Apple diagnostics are not run, this will result in an inoperative system and an incomplete repair, according to Apple’s directive to service providers.

Related Reading: Right to Repair