Which is more likely?
A) the third person has nefarious intent
Or
B) the third person prevents a flight crew member from doing illegal things
I think it is still safer as is, and would be less safe if the flight deck was accessible to extra personal who each have their own chance of being bonkers.