That's what they are doing, although not always correctly. Remember, the constitution also counts as "the law as written".
And yet they don’t overturn laws that clearly infringe the 2nd Amendment.
It seems to me that they only defend the Constitution when it suits the leftist agenda.