I don't think it's a plain BJT, because the measured voltage between the output and ground wire when I power the sensors from the battery charger is always the expected voltage for a real LM35. Plus, any of the sensors give accurate readings with any of the chargers, which I wouldn't expect for something that has to be calibrated for each different component.
In any case, I checked each pair of leads in both polarities, with multimeter diode check and found 3 junctions, with drops of 0.686, 0.636, and 0.645 V, which isn't consistent with a BJT.