A Hong Kong independent bookstore owner has cited a former education minister in court to defend charges linked to a Spanish course held last year.