Cultural norms typically dictate laws and not the other way round. Case in point: The US constitution granted Women right to vote on August 26, 1920 when the Nineteenth Amendment was adopted. And no, it did not happen with a "stroke of a pen". The movement began in 1771 and their rights finally enshrined in the US Constitution in 1920 (~150 years).