Why did the castle owner have to buy private property on to keep their cattle