Modern air defense is layered, and latest generations are layered and networked.
Short, medium, and long range all have different kill methods/platforms, but may share radar and sensors suites, along with command and control systems.
The operator, system, or mixture of both, then decides which targets are threats, and which kill system to engage them with.
This is going to be one of the horrors of Ukraine. A legacy of landmines that will not be cleared in most of our lifetimes, even if the war ended today.
Not the same as unexploded airdropped ordinance, but significantly worse.