what was illegal in medieval times