Absolutely. What use is the law when it doesn't correspond to reality (the natural law)? When law is this plastic, it can be turned to evil purposes very easily, as we're seeing.
Natural law, yes. We do not have to obey laws which are contrary to Natural Law or Divine Law. In circumstances where an immoral law (or court ruling) which goes against Natural or Divine Law would lead to loss of human life or severe injury (mutilation or torture), a Catholic has the obligation to disobey that law to defend human life. As do all Christians and all men. One could cite the Nuremberg Code here as well.