To check environmental pollution, the government has imposed fines and penalties on vehicles and industries which cause air pollution. Since, the truck was emitting black soot, this implies that it was polluting air. Therefore, the truck driver was penalised. Yes, it was justified because only then the transport operators will adhere to the norms laid down by the government.