Activists' bitter-sweet legal win over permit