This is an appeal from a judgment awarding damages to plaintiff for loss by fire of lumber stored on defendant’s wharf.
The plaintiff, an insurance company, sues on its own and the assigned claims of other insurance companies, arising upon subrogation to the rights of the owners of the lumber, represented by the Union Lumber Company, a corporation, from having paid the losses to the owners upon policies of insurance thereon.
The defendant, the owner of the wharf, and engaged in the wharfage and storage of lumber, disputes this liability for the loss in question on the ground that it was relieved from such liability by reason of a special contract with the owners of the lumber whereby defendant accepted the d.e-posit of this consignment of lumber subject to the owner’s risk.
It is true that this issue is not expressly raised by the pleadings. The complaint avers that “At all times herein mentioned defendant has maintained and operated, and. does now maintain and operate at South San Pedro, California, a storage wharf for hire,” and, that “on the eighteenth day of August, 1916, the Union Lumber Company, a corporation, was the owner of certain lumber and timber products which were there stored and situate upon the wharf *40 and premises maintained and operated by defendant at East San Pedro, California, as a wharf and premises for hire . . . that on said date said lumber and timber products were in the care and custody of defendant for a consideration, awaiting orders from its owner as to its disposition and removal therefrom,” and was damaged by fire through defendant’s negligence.
The defendant contents itself with simply denying “that at the time or times in said complaint mentioned, defendant has maintained or operated, or does now maintain or operate at San Pedro, California, a storage wharf for hire,” or that on the eighteenth day of August, 1916, the lumber in said complaint described was “stored upon the wharf or premises maintained or operated by defendant.” It also denies that the loss occurred through defendant’s negligence, but there is no reference to the special defense that the lumber was placed on the wharf at the risk of the owner.
It is not the fact, however, as suggested by respondent, that this defense was raised for the first time on appeal. It was raised in the evidence and by the findings of the trial court. Evidence as to the special contract under which it is claimed that this lumber was stored on defendant’s wharf, with a waiver of liability against defendant, was introduced by defendant without objection and the trial court specifically finds upon the issue thus raised.
*41 The finding of the trial court upon this issue was that before the lumber was received upon the wharf the defendant company notified said Union Lumber Company as follows: “That there would be a strike of the longshoremen and the wharf handlers June 1st; that it would not receive said shipment of lumber after June 1, 1916, except subject to its not assuming any responsibility for delivery, or loss, or damages, or theft, or any cause whatever of that nature, until the strike was over and it was in a position to handle the same. That with said understanding and shortly after June 1, 1916, said lumber and timber products were removed from said steamer ‘Noyo’ by the master of said steamer and piled in the rough upon defendant’s said wharf for the express purpose of having the same stored by defendant.”
It is true in this instance that the loss by fire was not the direct result of the strike. It was contributed to, at least, by failure to construct an oil tank maintained on the wharf of defendant, as required by an ordinance of the city of Los Angeles, but the immediate cause of the fire was the negligence of one of defendant’s employees in operating the machinery to which this oil tank was attached.
To what extent the conditions brought about by the strike may have contributed to such want of care of the employee cannot be determined, but it was a contingency to be anticipated, and which- the defendant had a right to protect itself from by a special contract as to the liability assumed.
This case comes to us on rehearing from the district court of appeal, and we accept the conclusions of that court, and the reasoning on this point presented in the following language:
“With reference to the lumber destroyed by fire, it is evident that the defendant did not receive it as a wharfinger, nor was it received as a depositary, gratuitous or for hire, so long as the lumber remained on the wharf under the agreed conditions herein.
“But for comparison, the degree of care to he exercised by a depositary, and his liability for loss or damage to the thing stored will be stated. The code, provides for the degree of care of limitation of liability in case of a deposit. If for hire, the depositary must use at least ordinary care for the preservation of the thing deposited (sec. 1852, Civ. Code); and if gratuitous only, at least slight care (see. 1846, Civ. Code). ‘No warehouseman or other person doing a general storage business is responsible for any loss or damage to property by fire while in his custody, if he exercises reasonable care and diligence for its protection and preservation.’ (See. 1858c, Civ. Code.)
“Even if the defendant did not exercise ordinary care in the preservation of said lumber, it violated no state law 'as a depositary. It had not stored the lumber and was, therefore, independent of the contract, not liable as a de
*44
positary. In making its contract with the Union Lumber Company, it violated no law against public policy. The public had nothing to do with the transaction, was not in any way interested in the matter. The transaction was a common-sense mutual arrangement between two competent contracting corporations concerning their private affairs.
“It should be constantly borne in mind that this was not a unilateral contract on the part of the defendant. The Union Lumber Company, by accepting the conditions upon which it was permitted to rough pile the lumber on the defendant’s premises, accepted those conditions and affirmatively agreed to relieve defendant from all risks. The defendant and the Union Lumber Company freely contracted with all of the possible dangers in mind which might attend a tie-up of a large business by means of a strike of a comparatively large body of employees. The contract was to the effect that the defendant would not be responsible for the delivery, or loss or damage of this lumber. The terms of the agreement are broad enough in meaning to guard the defendant against all loss or damage by fire or other cause attending a general strike of its em *45 ployees, including any loss or damage caused by reason of disturbed conditions, in consequence of, as a sequence to, a strike; shortage of help, overwork and overwrought remaining employees, interruption of the ordinary conduct of the business, a want of ordinary and usual care of employees in doing their work under stress and disturbance and threats; for lack of efficiency in coping with fire or other destructive agencies because of the condition of or scarcity of employees.”
In the light of the conclusion reached by the court of appeal and by this court that the defendant was released by its contract from liability for the damage sued for, and the trial court having found that the lumber was accepted upon defendant’s wharf in pursuance of said agreement and understanding that it was so received at the owner’s risk, the judgment is reversed, with directions to the lower court to amend its conclusions of law in accordance herewith, and render judgment for the defendant.
Shaw, J., Wilbur, J., Shurtleff, J., Lawlor, J., Lennon, J., and Angellotti, C. J., concurred.
