Judge denies bid to prohibit US border officials from turnin