That in all cases where cemetery companies, incorporated by special law, have been or shall be prohibited by any act of the legislature or municipal ordinance from occupying any land purchased for burial purposes, and the boundaries limited by such law or ordinance, it shall and may be lawful for any such company to sell and convey the land outside of such boundaries for other than burial purposes.
765 ILCS 810/1