Trump ranted on Twitter that offenders would be jailed for up to 10 years.