Registration an MRI image to another coordinate system

Nilearn resampling fails for such transformation. I am not sure what the reason is. I had to use AFNI program 3dresample.