International Airlines Group (IAG) has converted 18 Boeing 787 options into firm orders for British Airways. The original order, placed in 2007, was for 24 firm 787s, with 18 options. The Rolls-Royce Trent 1000-powered 787s will replace some of British Airways’ 747-400 aircraft between 2017 and 2021.

According to IAG, Iberia has reached agreement with Boeing to “secure commercial terms and delivery slots for a possible 787 order. Firm orders will only be made when Iberia has restructured and reduced its cost base and is in a position grow profitably,” IAG said in a statement.

British Airways has 118 widebody long-haul aircraft in its fleet with 42 aircraft on order (not including the 18 787 options it has agreed to firm), comprising 12 Airbus A380s, 24 787s and six 777-300ERs.

Iberia’s fleet comprises 31 widebody long-haul aircraft with six A330s on order.

The firming of the 18 787 options is subject to approval by IAG shareholders.