Sounds like a bug. Trading aside, you should always be able to fly into orbit at any planet. Whether the ship survives after that depends on your relations with that player.