Can Ambient Oclusion be used with a Background Texture?

Am using 5.9-RC4. Have a view with a Texture:

renderView2.UseTexturedBackground = 1
renderView2.BackgroundTexture = my_texture
renderView2.UseAmbientOcclusion = 1

I have noticed that when turning Ambient Occlusion ON, my texture background gets replaced by the view’s default Background Color. Is this expected? I wish to use both at the same time.