Using Python I can only get world transforms, not local transforms of the control rig

I am having the same issue.

“set_control_rig_world_transform” works, but “set_local_control_rig_transform” return the same error.
LogControlRig: Error: Control Rig Wrong Type.

On paper it should work. Curious if anyone knows a workaround.