Police said he was medically cleared before being jailed.