It would make more sense to self tag friendlies and treat the rest as hostile.
The fog of war is not so simple though.
Air defence commanders light up their radars whenever they want to, and if the Rafale lights up on the radar, AC should begin working imemdiately until a full IFF check is done, which takes time. And Balakot has shown some commanders can be a bit too aggressive in manning their AD.