A man who had posted a video of a rally against Korean residents on the internet sued Osaka Mayor Hirofumi Yoshimura on Monday, arguing the city's ordinance against hate speech to deter racist propaganda violates freedom of speech.

The plaintiff, whose username on an internet video posting site has been made public by the city in line with the ordinance, filed the lawsuit with the Osaka District Court against Yoshimura, demanding the local government not publicize his name even if it's already widely known.

The city ordinance came into force in July 2016 as the first local-level ordinance in Japan to set concrete procedures to prevent hate speech.