For the carrier having a proper letter of indemnity and bank guarantee simply means the following:
If, for some reason, one of the initially issued (and now claimed lost) Bills of Lading is properly presented to the carrier by another party claiming legal ownership to the cargo, then
the carrier can draw financial compensation for this party from/through the bank guarantee and,
the carrier is held harmless by the indemnitor from any legal consequences and costs