Court heard that pair had planned two terrorist attacks that included a chemical gas attack on the flight to Abu Dhabi in July 2017.