Under the Local Autonomy Law, an ordinance may impose a penalty of up to two years imprisonment and/or 1 million yen in fines, although any penalty under an ordinance must be prescribed in accordance with the Code of Criminal Procedure. There are even some ordinances, such as bans on smoking on the street, for which the police in some districts state that there is no penalty for failure to obey the ordinance.