Change Light's realtime shadows resolution in runtime through script

Can I change this value in runtime through scripting? I tried light.shadowResolution = LightShadowResolution.Low; but it doesnt work.

URP, Unity 6.