After four years, the case was decided against Apple, as were later appeals