Harker eventually finalized the land deal for Dracula, and was imprisoned in the Castle.
The passage describes a situation where Harker successfully negotiated the land deal for Dracula but then found himself imprisoned within the castle.