This study aims to describe the restoration of environmental functions due to criminal acts by corporations as additional criminal sanctions regulated in Law Number 32 of 2009 concerning Environmental Protection and Management (after this referred to as the PPLH Law). In particular, this research thoroughly examines the Yogyakarta District Court Decision Number 129/PID.B/2004/PN.YK related to the crime of environmental pollution by the Yogyakarta Locomotive Depot. This research is normative legal research with a case approach, a statutory approach, and a conceptual approach. Based on the results of the study, it is known that in order to comply with the court's decision, there are efforts made by PT Kereta Api Indonesia (Persero) to "recover the polluted environment so that it can be used as before according to its designation" as ordered by the Criminal Court Decision Number 129/ PID.B/2004/PN.YK, including a. Draining Residents' Wells and Water Sources, b. Construction of Catch Wells by PT Kereta Api Indonesia (Persero), c. Installation of drinking water company facilities for affected residents and reimbursement of usage costs.