TL;DR: The dispute allows Pedro Sanchez to frame himself as defending democratic values and distract from weakening support of the more left-wing partners in his ruling coalition, as well as from the fact that he is seeking to strengthen ties with China in opposition of his EU partners.