Margulis knows right from wrong, he's just willing to do some pretty heinous things in the name of the greater good. His psychotic ally also knows what most people consider right or wrong, he just doesn't care because he considers himself above all that and thinks morality is just a subjective construct of society anyway.
no subject