National Academy of Indian Railways told to hand over assets