See how Slavery ended in Massachusetts. Yes, the courts ruled it unconstitutional. They "simply made slavery illegal."
They didn’t obviate Massachusetts’s responsibility by virtue of the Fugitive Slave Act or taney’s Prigg v. Pennsylvania to render aid to slavers in the capture of runaway slaves. And it didn’t “just end slavery” in the other states.