Polly - you need to make an application to register it or, if you think a mistake was made on registration
report the error and have us investigate.
Much depends I suspect on whether your neighbour's title refers to the flying freehold but yours does not and whether both properties are registered.
If no error has been made on registration then the conveyancing and deeds for both never highlighted it. If that's the case then the option is to claim ownership through adverse possession or the neighbour transfers the bathroom to you.
I'd suggest discussing with your conveyancer as to what's registered and how/why and consider the best way forward to resolve it to enable the sale to go through