Yes, it has to be thinkable, but I don't know whether or not judicial decisions closely follow public opinion. With interracial marriage, it doesn't _seem_ to have. (I'll agree there is a difference between disapproval and favoring criminalization, I've seen no data on percentage thinking it should be decriminalized, so I use the data I do have, with a grain of salt.)
My issue is I don't have any data to say whether the judiciary follows closely public opinion, or comes from something else--luck of the draw in who happens to be sitting on the court, for example. (e.g., the change that switched national minimum wage from unconstitutional to A-OK seemed to primarily involved FDR putting friendlier judges on the bench, not an outcry from the public.)