In any action to recover possession of personal property, the plaintiff may obtain a judgment for possession. If possession cannot be obtained for some reason by the plaintiff, the value of the property may be accepted, plus any damages for detention of the property. If the property has been delivered to the plaintiff, a defendant’s claim may result in the return of the property. If the property cannot be redelivered for some reason, the value of the property may be accepted, plus any damages for detention of the property. (CCP 667)