I just think the judge was lazy here. He didn’t want to deal with it. Is Shariah law coming? Not yet. As long as we have an appeals process and this stuff is challenged, these lower courts can’t invent law. (Someone correct me if I’m wrong.) We could also legislate Shariah law out of our courts as well.
You're going to legislate choice of law provisions out of private contracts between two private parties? That would be powerfully stupid, and would act as a unneeded barrier to international trade.
This is what happens when laypeople try to interpret judicial decisions involving straightforward contract law cases.