Controversial plan to install security gates at both ends of