Ian,
If the frame fits a 1997 RS250 engine then it will take any RS250 engine from 1995 to 2000. All the mounting dimensions of these years are the same. The 2001+ (NXA) engine will NOT fit in the old frame.
Got any pics of that frame. I'd love to see it!
Cheers,