Laws like the Special Marriage Act were enacted at a time when women did not have agency and public notice envisaged under the law inviting objections to an intended marriage is patriarchal and enables invasion of privacy, the Supreme Court said on Thursday.