The ECHR follows the rules about free speech enshrined in the agreement it exists to uphold, which explicitly leave room for local laws in this area, which meant that in this case it didn't overrule national law. Given the range of members, it's sadly unlikely this will be changed anytime soon (which is why I think it'd be worthwhile to do changes here on a smaller scale, e.g. through EU law)