Fairly sure burning mined coal is considered less environmentally friendly than charcoal made from trees. Exactly because the former releases co2 that has been captured and stored in deposits, while the latter only releases what has been captured by a tree that will be recaptured when the tree planted in its place has grown.