Some months ago the matter of Christ’s active (living) and passive (in death) obedience was briefly discussed—https://www.brethrenarchive.org/bookshelf/books-and-pamphlets/unknown-author/fifteen-plain-simple-proofs-from-scripture-that-the-believer-is-not-justified-or-accounted-righteous-by-christs-keeping-the-law-but-by-his-death-and-resurrection/
The very learned Tregelles held to the same misconception of the imputed righteousness of Christ in His life to the believer as contributing to his justification. He alluded to the “Brethren” and the confusion, he asserted, that their novel doctrine caused—“in order to lead persons to doubt or deny that the Lord Jesus wrought out a perfect righteousness for His people in His fulfilment of the law of God.” Sadly he is totally silent on the righteousness of God that was magnified when He made Him (Christ) to be sin for us, Who knew no sin, that we might be made the righteousness of God in Him (2 Cor 5:21). It is not the righteousness of Christ that is imputed to the believer, but that he is reckoned as righteous before God in Christ.
Dr Tregelles introduces his answer with, “The common doctrine of the Protestant Reformation is .....” and then endeavours to defend what was “commonly” held by many. Sadly many, especially those among the Reformers, had it wrong when it came to justification (not about it being by faith). So, without taking him out of context (read his treatise), Tregelles writes for example—“Freed from wrath by the shedding of His atoning blood, we are set before God, righteous in the righteousness wrought out for us in His living obedience.” No! It is because of His atoning death, and that to sin, that a person may be presented to God as righteous in Christ.