when accidents happen that we must investigate the extent to which containers were involved
This means that when accidents happen at sea we must investigate the extent to which containers were involved.
This when accidents happen at we must investigate the extent to which containers were involved.