Spanish police are anticipated to bring back an old passport rule that could result in huge queues at the Gibraltar customs checkpoint.