Answer
This is a documented part of the patching-system technical documentation, not something to work out from first principles — check the official patching-system and delivery-preparation documentation for how a patch is expected to merge with an existing customization layer before designing your own process around assumptions.