This is by design. It is, in essence, the same issue as the one shown below.

When the AGV network resolves travel paths for agvs with trailers, it tries two options. First, navigate from the front of the AGV (the center of the AGV's front trailer, which in this case is the AGV object itself). Second, navigate from the back of the AGV (the center of the back trailer). In order for a given option to be valid, the navigation must proceed away from the body of the AGV. In other words, the "back" navigation option must proceed backward to be valid, and the "front" navigation option must proceed forward to be valid. If neither the front nor the back navigation option is valid, then this is a navigation error, because all possible options would force the train to travel in on itself.
When your train pulls into the spur, then attaches a trailer onto its back, its back now runs onto path 1, or at least it runs past the end of the path that would connect onto path 1. From this standpoint, all navigation options going to control point 2 would force the train to travel in on itself. Therefore, it is an error. It is the user's responsibility to make sure that these situations do not happen, by pulling fully into spurs, including any distance necessary for attaching new trailers.