Why would it be wrong to ask ATC for the altitude, given that they are using it for separation purposes?
It was a factor in the crash of the Aeroperu B757 which had blocked static ports.
As a result, the mode C info was corrupted, and ATC were telling them they were at 9000ft when they hit the water.