Speaking as someone who's always found the jumpseat ride a fascinating experience, I can't help thinking that it should be up to the Captain as to who can or can't sit in the cockpit.
Just curious -- has there ever been a case of unlawful interference of an aircraft directly involving a jumpseat passenger, regardless of whether it's a company pilot or 10-year old schoolboy with an interest in the gadgetry?