Air density matters
So does water level if I'm trying to avoid a reef off Bermuda. Doesn't mean I'm safe from going aground if I pee in the ocean.
The natural changes in air density from temperature changes are well known by pilots and taken into account.
