Would Protestants agree with this statement on good works: “Moved by the Holy Spirit, we can merit for ourselves and for others the graces needed for our sanctification and for the attainment of eternal life. Even temporal goods, suitable for us, can be merited in accordance with the plan of God. No one, however, can merit the initial grace which is at the origin of conversion and justification.” (Compedium to the Catechism)
“…through the observance of the commandments of God and of the Church, faith co-operating with good works, increase in that justice which they have received through the grace of Christ, and are still further justified (Council of Trent, Sixth Session, Chapter 10)".
Then there are the various types of grace the Church speaks of, not to mention our own free will to respond, or not respond, to God’s grace and the grace recieved from the sacraments. Then issues over sanctification and so on.
The council of Trent condemned forensic justification. This article is a good explenation of differences and talks about sanctification too, save me parroting.
catholic.com/library/Grace_What_It_Is.asp
Justification is a process that begins at baptism and at any time we can lose such justifcation, in the end we will be judged according to our works.
One apologist noted “justification of the believer is not a forensic declaration of a person’s righteousness, but an actual interior purification of the soul.”