Good question Daniel. I guess you mean how would the Tesla radar do that. I can't answer that question specifically as I haven't looked into the design of the Tesla radar. My experience with radar is in other areas and frankly 10 years outdated. Maybe someone else can mention the type.
But as a general rule, radar can determine the difference from ground objects and overpasses if it is a scanning electronic beam type. Meaning, the same way that older airport radars used to determine altitude of aircraft (elevation above the ground). Clearly a stopped car shouldn't be 14 feet above the ground
Also, such radar beams need to be narrow and very high frequency to get granularity.
Now that you mention it, my curiously is peaked. I'm going to ask a bunch of questions next week. I'm wondering what type of radar is in the Tesla.