Shakira defends her song against plagiarism in Spanish court