Minn. Stat. § 219.166
A county, statutory or home rule charter city, or town may by ordinance establish a defined "quiet zone" in which the sounding of horns, whistles, or other audible warnings by locomotives is regulated or prohibited. A quiet zone established under this section must consist of at least one-half mile of railroad right-of-way. All quiet zones, regulations, and ordinances adopted under this section must conform to federal law and the regulations of the Federal Railroad Administration.