The correct answer would be:
B) Issuing licenses
Local governments are typically responsible for issuing various types of licenses, such as business licenses, building permits, and marriage licenses. Options A and C do not fall under the purview of local government; making court rulings is a function of the judicial system, and writing federal laws is the responsibility of the U.S. Congress.