The regulation is one thing..., lets assume orange juice not allowed for cockpit... ok fine, i can live with it, so in the case mentioned the C/s could have simply told (IF she was honest and behave like an adult...
!!) the f1 "you known this is not allowed,you shoud not do it". Point, end of the story.
BUT going into the office and REPORT your colleague for that, this is something AMAZING,and just reflecting the Kindergarden & hypocrite mentality of some people here.
Indeed i'm afraid in that case NEWPILOT A330 that you will have to resign ASAP..
Ma'al salama.