Even when escorting a person in custody a copper is not permitted to be armed in the aircraft.
I've not seen much on the TV on this but think I saw an x-ray image showing his weapon in a brief case. If correct, this would explain why boarding staff were unable to prevent the weapon being carried on board.