When lady Grace, lady Vivien and lady Katharina found out that this guy was a spy, they were not happy with him and they had to torture him. They had to punish him in a way that he had never done and he had to learn his lesson the hard way. That is why they shit on him and also peed on him before they felt it was enough and let him go.