Let $(C,W)$ be a category with a class of weak equivalences, and $D$ a small category. Then I can form the diagram category $(C^D,W^D)$ with objectwise weak equivalences, and its simplicial localization $L(C^D,W^D)$. Or I can first simplicially localize to get $L(C,W)$ and then form the $(\infty,1)$-functor category $L(C,W)^D$.
If $(C,W)$ is a nice model category, so that $(C^D,W^D)$ has a model structure presenting $L(C,W)^D$, then we have $L(C^D,W^D) \simeq L(C,W)^D$. Is this true any more generally? Is there an easy counterexample where it doesn't hold?