Lawmakers on Friday called for more efforts to eradicate discrimination against residents who were born abroad, and their descendants, three years after the Diet enacted a law to counter hate speech.

A cross-party group of four House of Councilors members who helped pass the legislation met with the press to talk about the law, which was enacted on May 24, 2016, and took effect on June 3 that year.

"An increasing number of local governments have established ordinances and guidelines" in line with the law, but some candidates have made hate speeches during election campaigns, said Shoji Nishida of the ruling Liberal Democratic Party.

"The public needs to understand this kind of behavior is not socially acceptable," he said.

Katsuo Yakura, a member of the LDP's coalition partner, Komeito, said the law has had some effect in court rulings, with injunctions issued to ban hate speech. "We need to make constant efforts," he added.

While Nishida and Yakura said further efforts to eradicate hate speech should be made under the existing law, opposition party members called for the enactment of new legislation.

"There is a limit with the current law to tackle human rights violations on the internet," said Yoshifu Arita, a member of the main opposition Constitutional Democratic Party of Japan.

Sohei Nihi of the Japanese Communist Party said it is necessary to enact a new law with a provision banning hate speech in order to eradicate it.

The four lawmakers all belonged to the Upper House committee on judicial affairs that deliberated the legislation in 2016.

Hate speech targeting ethnic minorities in Japan often includes death threats against certain nationalities and extreme insults, such as comparing certain groups of people to cockroaches or other creatures, or remarks like "go back to your home country."