Um, because it happens to be the law that customs officials, if they have reasonable suspicion, can search your personal belongings...? Or are you suggesting that airline staff be allowed to take drugs, porn, other prohibited items into any country because airlines insist it be allowed?