Yes, you obey the law. Not to do so is anarchy. We have laws against murder. The laws against murder are not immoral. I understand you equate abortion with murder and so do I. Unfortunately abortion, especially late term, is not against the law...yet.
How sweet. You are in Germany in 1941. Do you obey the law?
And please do not step into the trap of asserting it "is not the same thing".