Barcelona warns Real Madrid legally