See #47550 for background and in particular https://github.com/spring-projects/spring-boot/pull/47550#issuecomment-3411461291