When mortgaged chattels shall be removed out of the county wherein they were at the time of the execution or delivery of the mortgage thereof, and shall be recovered by the mortgagee or owner of the mortgage by means of legal proceedings, or when the removal of such chattels shall be prevented by like proceedings, the court in which such proceedings are had may regulate the disposition of such chattels and prescribe such terms for the possession thereof by any person interested therein as will protect the right of such mortgagee or owner of such mortgage.
N.J.S. § 46:28-2