Ok, I got curious and searched some more. There is all kinds of answers in the internet, varying between ”The best” and ”Don’t use medicinal grade”. For example Adrian Duncan writes like this:
In the past, castor oil was available in both lubricant and medical grades. The medical grade intended for internal use is still readily available in drug stores. However, it is quite unsuitable for use as a model engine lubricant – do not be tempted to try it! A useable substitute with which I have so far had completely satisfactory results is the 100% pure cold-pressed castor oil which is sold in beauty stores for external use as a skin emollient – for some reason, its availability has not so far been affected by the Ricin scare. Its main disadvantage is that it is not de-gummed, making it somewhat prone to gumming up a stored engine unless appropriate precautions are taken. If you decide to try this route, make sure that the label on the oil that you're buying specifically states that it is 100% pure cold-pressed castor oil.
Speaking of gumming up, any engine that is run on castor oil should be cleaned very thoroughly prior to long term storage…
A much better reply came when I asked Robbie Metkemeijer, maybe the best expert of this subject that I could find. He wrote:
My brother and I used medicinal castor oil all our ( teamrace) life, because my father worked in the pharmaceutics so we could get it easily. I think it was normal castor oil, but it had very constant quality which was good for us.
It had all the good and all the bad habits of normal castor oil, mainly dirty engines. I do not think there was a systematic difference
I think that people that say "never use" will not use castor oil at all (because of dirty engine and big problems when it stays too long in the stored engine) and people that say "the best" like the constant quality like we did.
But nowadays there are much more stable castor oils like Castor 927 Maxima or Shell Advance Racing M, Klotz castor
https://klotzlube.com/shop/ols/products/xn-benol-racing-castor-lubricant-ueb1a These are all "improved" castor oils, but based on castor oils. Als very constant quality, but more stable in the fuel, and probably a bit less dirty in burning.
So, my conclusion is that medicinal castor is fine, but you have to live with the ill effects. Also, note the difference between the real medicinal castor and other castor based products that the pharmacy sells. So read the ingredients. L