The legal system as a tool to protect women’s rights