I am not sure whether there is already a issue report about this and if it's maybe intended to be able to shoot outside the worldborder (to hit players which are outside).
But I guess it is not intended that you are able to throw enderpearls out of the worldborder.
*Can someone please tell me how to write here labels or tags in the description?
Linked issues
Comments

Ok thank you 🙂
Has been reported already.