World borders have always been passable, attempting to do so purposefully is covered in the rules. Unfortunately this has been a long standing issue in vanilla mc for years. Going to close this as there isn't anything we can do to fix it. Please open a new ticket if you think this is a mistake, or if you know of a fix we can implement.
Thanks,
MeniMeni