MSP's legal threat to police over 'hate incident'