A federal judge ruled Monday that books removed from Department of Defense schools in Kentucky and beyond must be restored.