A Chinese court has ruled in favour of Italian confectioner Ferrero and imposed a fine on a domestic manufacturer that sold imitation Ferrero Rocher chocolates.