A proof of concept is available for review: PR #2076. It shouldn't be merged before the forum proposal about the behavior change concludes: Stack components registered with the same role and hint instead of overwriting them.
It fixes the use case of XPRISMJS-13 (checked on a local instance with and without the change).