Ranieri: 'Ref destroyed our work'