Messi wins court case to trademark his logo