What happens to the accomplices if the characterization of the crime or penalty changes based on the perpetrator's intention or knowledge? 
The accomplices will be punished according to their intention or knowledge.