That justification was not the one Paul was speaking of in Romans, which is a one time event and results in salvation.
James is speaking of the justification that is seen.
There are two meanings to the word as even the note in the RCC bible (NAB) states.
The scripture lists three different times when Abraham was justified, — true or false?