Transfer mechanism for transferring a specimen from a first position in a first holder to a second position in a second holder, each holder equipped to detachably hold the specimen wherein at least one of the holders includes a gripper for gripping the specimen by moving from an open position to a closed position and releasing the specimen by moving from a closed position to an open position, the transfer of the specimen between the holders taking place in a transfer position different from the second position, characterized in that when the specimen is transferred between the holders a mechanical guidance mechanism positions the holders with a mutual positional accuracy higher than the positional accuracy of the second holder in the second position, and said mechanical guidance mechanism not positioning at least one of the holders when the specimen is in the second position.