President Karol Nawrocki, a strong advocate of coal, will have the final say on whether the bill becomes law.