Britain could pay a heavy price for showing little understanding of Pakistan's history and current plight.