Subsurface material & light function

I’ve made sample project, you can get it here (4.9.2)

By default light function intensity is set to 0, the shadows and the lighting is still present on the curtains mesh, and only on the curtains

P.S. the curtains mesh uses masked blend mode, changing it to opaque does not resolve the problem