See https://github.com/spring-projects/spring-framework/pull/35423#discussion_r2341828274