When you want to use the identity transformation you just create the transformation:
initial_transform = sitk.Euler3DTransform()
I would highly recommend setting the transformation center so that the rotation is around the fixed image’s center and not the origin. This greatly improves numerical stability.