The European Court of Human Rights (ECHR) is set to rule on whether Russia's ban on Nazi symbols violates free speech laws.

Judges will decide whether two Russian men were unfairly jailed for posting pictures featuring the swastika online, the Kommersant newspaper reported Wednesday.

Ivan Gorodiski, from the Russian region of Penza, and Alexei Mandrigel, from the Russian region of Krasnodar, were both given prison sentences after they shared a photo collage with images of Russian President Vladimir Putin alongside Nazi imagery.

The pair were jailed for seven and ten days respectively.