Court rules against Pravin Gordhan in hate speech case