A company can't fire prople based on opinions of the person. But of course you support it, you didn't like his views.
"Political belief or activity - Workplace. It is against the law to discriminate against anyone in the workplace because of their actual or assumed political beliefs or activities. Employees are protected from discrimination at all stages of employment including recruitment, workplace terms and conditions and dismissal."
Regressive.