If you actually tried this in court, a judge would go “uh huh...anyway...” and move on. A judge is highly unlikely to create a novel interpretation of an ebook as a software program for exceptional purposes—even if it has instructions in it—because acting as a typical software program is not its primary purpose.