Apple won an important court battle yesterday, just not the one you're probably thinking of.
Late yesterday a federal judge in Brooklyn, New York ruled that the FBI cannot force Apple to unlock an iPhone used by a suspected drug dealer
. In this case, as in the San Bernardino shootings, authorities invoked the All Writs Act of 1789—an antiquated general purpose law allowing courts to mandate third-party assistance in executing a prior court order. But the judge has roundly rejected the interpretation of the All Writs Act as it applies to this case.
The ruling sets an important precedent that will surely be cited in regards to San Bernardino; it's important to note, however, that this decision is not legally binding
when it comes to any other court proceedings.