one night she had malin tackle some poor sleepwalking man who was visiting aunt aila for his nerves , on the pretext that he was a thief who had stolen her pearl necklace right out of her room and was trying to escape .