Al-Qaida bomb plot led from UK, trial papers say