Michigan cities, regulators clash in court over renewable energy law