But in this case it’s not just the patent office granting a patent, but actually winning a case in court as well. How does that work when supposedly software patents are not applicable?
It's complicated, The European Patent Convention states that software is not patentable. But laws are always interpreted by courts, and in this case interpretations of the law differ.