Re: The courts are the ones making the decisions here...
You're taking a leap of faith that the court decision is correct, though.
Coding is hard, and I posit it's unlikely the judge(s) hearing the case are experienced developers with a solid understand of how and why APIs exist and are used.
Instead, they rely on so-called expert testimony from both sides, and whichever side sways them the most is the one they base their decisions on. I find that wholly inadequate for determining legal positions because, as ever, it will come down to which side has the most compelling lawyers, rather than technical accuracy.