bubbers,
In the case of AF447 the pitot drains remained open, hence the pressure was not trapped. I guess the procedure designers looked at the scenario you postulate, and decided that 5°/CLB would allow sufficient time to get more accurate settings from the QRH, or to analyze the situation and ignore the warning if necessary.