### Search before asking - [X] I searched in the [issues](https://github.com/FasterXML/jackson-databind/issues) and found nothing similar. ### Describe the bug This is offshoot from #4607, `DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS` does not work when Polymorphic type handling takes place. ### Version Information 2.16 and later. ### Reproduction #4611 ### Expected behavior Should fail when... - object id is not provided - class is annotated with `@JsonIdentityInfo` - enabled `DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS` ... and should pass when disabled `DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS` ### Additional context _No response_