Therefore the Court remands this matter to Commerce a second time for it to select a margin that is “a reasonably accurate estimate of the respondent’s actual rate, albeit with some built in increase intended as a deterrent to noncompliance.”
quoted from Decisions of the United States Court of International Trade.
I'm curious about the sentence's structure.
I understand the meaning of phrase "The court remands A to B"
However, I'm not sure how "a second time for it to select a margin" fits into the sentence above. It is like "The court remands A to B C" and it looks weird to me (nevertheless I can still interpret the sentence)
What's the function of "a second time for it to select a margin" in the sentence above and is it grammatically correct?