This story is a rollercoaster of emotions for me. For one it makes me feel icky to agree with either of these vile sites, but I also think the UK should have some power over cesspools on the Internet. The problem is the whole concept was never built with the idea of needing to moderate people around the globe that may have conflicting laws/regulations. And typically jurisdiction would decide whose laws take precedent, but a site can be hosted anywhere around the world and reach everyone. And without a physical presence in the UK, I don't think we have a great way to deal with things like this law.
A great example against the UK here is copyright law. If the US doesn't like someone anywhere else downloading US works, they can't just enforce US law by going and getting those individuals, they need to work with that country and either have some sort of agreement or go pound salt.