Allegri: 'Ref got it wrong'