Apple's deal with Google to host the latter's search engine on iOS is in jeopardy thanks to a courtroom battle.