I'm by no means an expert here, but my understanding is that military radar receivers/processors are able to discriminate between different radar emissions based on band/frequency and therefore able to identify the radar set in use. This would allow the radar operator on the ground to verify that a target identifying itself as an airliner is not an impostor, since a military aircraft would not be equipped with a civilian WXR.