Actually he meant it. It's a false dichotomy, science are not opposed. How could they be with the same author?
religion and science are not opposed
I mean that Spinoza was lying. He only gave religion a role as a concession to public opinion.