IRFCA can't be considered as a valid proof, many times they don't update the imformation
And the pic that us present in IRFCA is of 2007 and check the link I have attached, that is from 2016, most probably this loco has been rebuild and its class has changed from WAG 5A to WAG 5P