I don't see how that speaks to, let alone resolves the contradictions in James chapter 2 mentioned in the OP. But since you brought up these other issues, Luther did speak on those matters as well. I just hadn't quoted that part of Luther's intro. Allow me to summarize other issues in James which support Luther's conclusion of his writings not being that of an apostle.
Who ever said James was an Apostle, he was the brother of Jesus and as such, regarded as Judean royalty, he to was from the line of David. He presided over the Council of Jerusalem and obviously highly esteemed in the early church. The Apostolic witness is well represented in his letter, probably writing to a largely Jewish audience that had yet to shed their earthly attitudes of the rich being superior to the poor. I'll get more into an exposition of the passage in James as I respond to our beloved patriarch of the Protestant Reformation.
Is the Curse of the Law Freedom?
James 2:10-13 "For whoever shall keep the whole law, and yet stumble in one point, he is guilty of all. For He who said, "Do not commit adultery," also said, "Do not murder." Now if you do not commit adultery, but you do murder, you have become a transgressor of the law. So speak and so do as those who will be judged by the law of liberty. For judgment is without mercy to the one who has shown no mercy. Mercy triumphs over judgment."
WC Fields one day was sitting in his easy chair reading the Bible when he son walked in. He asks what his father is doing, WC says, 'looking for loopholes'. That cute little anecdote is actually insightful, there is a loophole with regards to the Law which indicates 'judgment without mercy to the one who has shown no mercy'. The gospel is to whosoever will and slaves could receive the gospel just like anyone else and be accepted in the fellowship. They had a class system just like we have today, the rich are envied with the poor are despised. We are all guilty under the Mosaic Law and the Jerusalem Council definitively determined that the 'yoke' of the Law was something neither the Jewish fathers not the Apostles could bear the weight. The gospel is crystal clear, there is no difference, James is dealing with the exact same thing Paul does in 1 Corinthians 11 and if you are shown mercy, you must be merciful.
James advocates the idea that we will be judged by the law, and that such law brings freedom (that is, if you follow it perfectly) In contrast Paul views the law as a curse. "For as many as are of the works of the law are under the curse; for it is written, "Cursed is everyone who does not continue in all things which are written in the book of the law, to do them." But that no one is justified by the law in the sight of God is evident, for "the just shall live by faith." Yet the law is not of faith, but "the man who does them shall live by them." Christ has redeemed us from the curse of the law." Gal 3:10-13
Again, the Council of Jerusalem definitively settled this matter with justification by grace through faith. The letter to the Galatians was written to the newly converted Gentiles from Paul's first missionary journey and warned not to take on the burden of the Mosaic Law our Christ would do them no good.
According to James justification is by works, and yes, the works of the law, and that in opposition to Paul.
No, absolutely not, that is not what the Council of Jerusalem decided and if Paul was opposed he had ample space to condemn the Council of Jerusalem in the strongest possible terms in the letter to the Galatians. James, John and Peter were available to Paul, Paul even called Peter a hypocrite, saying he lived like a Gentile but said the Gentiles should live like Jews. He was being sarcastic, Peter who say the first out pouring of the Holy Spirit under his preaching would fellowship with the Gentiles until the Jews came to town and then acted like he didn't know them. He was acting like an adolescent teen in junior high who would hang out with the less popular kids until the cool kids came around. Paul rebuked him sharply and the matter was resolved.
James' Hypocrisy and Prejudice
James 2:1 "My brethren, do not hold the faith of our Lord Jesus Christ, the Lord of glory, with partiality."
He goes on to speak of not treating the rich with partiality over the poor. But if you were to replace "rich" with "Jew" and "poor" with Gentile, James is guilty of that very thing.
But let's consider even in his epistle, does James treat the rich impartially? No.
You at this point have completely abandoned the text, the context and the message of James.
Listen, my dear brothers and sisters: Has not God chosen those who are poor in the eyes of the world to be rich in faith and to inherit the kingdom he promised those who love him? But you have dishonored the poor. Is it not the rich who are exploiting you? Are they not the ones who are dragging you into court? Are they not the ones who are blaspheming the noble name of him to whom you belong?
If you really keep the royal law found in Scripture, “Love your neighbor as yourself,” you are doing right. But if you show favoritism, you sin and are convicted by the law as lawbreakers. (James 2:5-9)
Paul dealt with the same problem when the poor were being treated unfairly in the love feasts of Corinth.
In the first place, I hear that when you come together as a church, there are divisions among you, and to some extent I believe it. No doubt there have to be differences among you to show which of you have God’s approval. So then, when you come together, it is not the Lord’s Supper you eat, for when you are eating, some of you go ahead with your own private suppers. As a result, one person remains hungry and another gets drunk. (1 Corinthians 11:18-21)
Both Paul and James speak at length on justification by grace through faith and if you want a comparative exposition on that point of doctrine you have only to ask, but I warn you, it's almost word for word the same thing.
"Come now, you rich, weep and howl for your miseries that are coming upon you! Your riches are corrupted, and your garments are moth-eaten. Your gold and silver are corroded, and their corrosion will be a witness against you and will eat your flesh like fire. You have heaped up treasure in the last days. Indeed the wages of the laborers who mowed your fields, which you kept back by fraud, cry out; and the cries of the reapers have reached the ears of the Lord of Sabaoth. You have lived on the earth in pleasure and luxury; you have fattened your hearts as in a day of slaughter. You have condemned, you have murdered the just; he does not resist you."
James 5:1-6
He categorically condemns the rich. While he commands "Do not grumble against one another, brethren, lest you be condemned." James 5:9, yet he grumbles against the rich. In James 4:12 he asks rhetorically "Who are you to judge another?" Well who are you James to judge another? Who do you think you are? He says, "Do not speak evil of one another" James 4:11 Yet he speaks evil of the rich.
James is partial to the poor, and how conveniently being one of them. And this is how James responds to the generosity shown him by rich Gentile Christians whom he would never have welcomed into his church without them first getting circumcised (see Gal 2:3) who had sent donations to the poor saints in Jerusalem.
Jesus was partial to the poor in the Beatitudes, how does he get off the hook? The rich man and Lazarus definitively tells us that a rich man who failed to offer any comfort to a poor beggar who sat outside his home his whole life went to hell and Lazarus went to heaven. Care to cast spiteful aspersions on our Lord for this? The poor saints in Jerusalem you might like to know were probably the church and the Apostles. I could get more into that if you like but it would require a pretty extensive exposition you might not have the patience for, let me know if your actually interested.
Where do you suppose Cornelius - a Gentile convert who was generous to the Jews - went to church? Certainly not in James' church. He would have never been welcomed there despite being converted by Peter himself.
Absolutely no reason to think that. I won't dignify it with a response.
James shows himself partial, ungrateful, proud and demeaning towards Gentile Christians, of whom he imposes his own personal cherry picked regulations upon while washing his hands of them with regards to ministry. (See Gal 2 and Acts 15)
The Most Important Thing
What is the most important thing to James? "But above all, my brethren, do not swear, either by heaven or by earth or with any other oath. But let your "Yes," be "Yes," and your "No," "No," lest you fall into judgment." James 5:12 The most important thing to James is to not swear an oath. Compare that with Paul. Col 3:14 But above all these things put on love, which is the bond of perfection.
James obsesses about the external - words, works. But Paul emphasizes attitude. James obsesses over condemnation and judgement. "Do not grumble against one another, brethren, lest you be condemned." James 5:9 While Paul emphasizes attitude, grace, hope, love, one's security in Christ.
The Spirit and the Body
James' backwards theology is further illustrated in his saying, "For as the body without the spirit is dead, so faith without works is dead also." James 2:26 Here James associates the body with one's faith, and the spirit with one's works. That's backwards. A person's faith is internal. One's works, like one's body is an expression of that which is internal. And faith should be associated with one's spirit in this analogy, and works with one's body. And seeing as the spiritual man is alive even though his body may be dead, yes you can say that a man is justified by faith apart from works, just as Paul declared Abraham justified (alive to God) in Gen 15:6, whereas James considered him dead until Gen 22. Paul says, "if Christ is in you, the body is dead because of sin, but the Spirit is life because of righteousness." Rom 8:10 The body is dead in that one's works (the body) are not taken into account with regards to one's justification, unlike the gospel of James. So while James could have said "For as the body without the spirit is dead, so works without faith is dead" or "For as the spirit can be alive apart from the body (2Cor 5:6), so also one's faith may be a living faith without works", but he couldn't say what he did say.
This is getting tiresome, you jerking texts out of their natural context and twisting them into a scathing indictment that does not stand up to close scrutiny. Now I'll happily engage you on these points later but the primary doctrinal issues have to be given preference before these anecdotal inferences, completely taken out of context.
Three points to consider, Paul and James were dealing with the exact same problem in James 2 and 1 Corinthians 11. Secondly, the Apostolic witness clearly rejects the Mosaic Law as instrumental in providing righteousness, the Council of Jerusalem and the letter to the Galatians being definitive proof of exactly that. Finally, justification by grace through faith was taught by James and Paul in almost the exact same terms, the theological expression is the imputation of the righteousness of God in Christ.
Now unless your just meandering around from text to text I invite you to a discussion of essential doctrine before we delve into anecdotal inferences. I think it would be mutually beneficial if you have the time and patience for an actual exposition of the requisite text. Otherwise I have no intention of chasing this down a rabbit hole.
Grace and peace,
Mark