Japan should enact a law banning hate speech to protect the nation's ethnic minorities, according to a United Nations expert who said such a change would not impact freedom of speech.