A court heard that the Reform UK councillor was angry that a Conservative candidate suggested he was a racist