Their destination city may not have even been in the UK, in which case they may not have had visas and therefore would not have been allowed to enter the UK to be bussed to LHR.
They certainly could have been provided with a gate at an international terminal and been provided with proper food and facilities until a resolution was provided. I am sure there are several solutions but deboarding is not that complicated of one.