Court uses new hate speech law to ban rally