In the location of any courthouse by removal within this State it shall be unlawful to locate such courthouse within eight miles of any county line, all laws to the contrary notwithstanding.