Seems this command is not even marked as obsolete?
At least the all of the #WarningEx lines are commented out in Pkg\Registry.pkg

I'm getting this result in some Hammer code.

Click image for larger version. 

Name:	DF20GetForeignProfileString.png 
Views:	79 
Size:	130.0 KB 
ID:	13246

I'll make sure to get rid of it, but you might want to re-instate those warnings?