Here's my take on it: It's a not surprise he's going to get saluted when he walks off his aircraft, so either be ready and do it appropriately or just don't even do it at all. This goes for any President, regardless of whether they have a latte or a silly dog in their hand/arms. It comes down to mutual respect, and yes, even for the President.