UK court to rule on landmark 'pregnancy crime' case