If you offered to deliver the coffee to the captain you could become, temporarily, via battlefield promotion, a member of the crew and so allowed a cockpit visit. 2 pilots, 1 coffee, 1 unheard of cockpit visit. Win Win. A questionable defence at the subsequent dismissal hearing, but worth a try.