Incorrect Context error when calling bpy.ops.view3d.object_as_camera()
So it turns out - 

I had to add area.spaces.active.region_3d.view_perspective = 'CAMERA'
this in the loop. 

Got my answer on http://blenderartists.org/. Just sharing for the community.