223. Agent to be indemnified against consequences of acts done in good faith.
Where one person employs another to do an act, and the agent does the act in good faith, the employer is liable to indemnify the agent against the consequences of that act, though it causes an injury to the rights of third persons.
(a) A, a decree-holder and entitled to execution of B’s goods requires the officer of the court to seize certain goods, representing them to be the goods of B. The officer seizes the goods, and is sued by C, the true owner of the goods. A is liable to indemnify the officer for the sum which he is compelled to pay to C, in consequence of obeying A’s directions.
(b) B, at the request of A, sells goods in the possession of A, but which A had no right to dispose of. B does not know this, and hands over the proceeds of the sale to A. Afterwards C, the true owner of the goods, sues B and recovers the value of the goods and costs. A is liable to indemnify B for what he has been compelled to pay to C, and for B’s own expenses.