National security concerns are behind this seemingly bizarre rule.