Medieval castles were generally built in the motte and bailey style and medieval castle toilets were no more than a wooden bench with a hole. Excrement ran straight out into the moat. They were called 'garderobes' because clothes were kept there to repel insects and moths.