Justified And When in the WEB
3 verses of the World English Bible have both "justified" and "when".
Psalms 51:4 Against you, and you only, I have sinned, and done that which is evil in your sight, so you may be proved right when you speak, and justified when you judge.
Romans 3:4 May it never be! Yes, let God be found true, but every man a liar. As it is written, “that you might be justified in your words, and might prevail when you come into judgment.”
James 2:25 In the same way, wasn’t Rahab the prostitute also justified by works when she received the messengers and sent them out another way?