The court also withdrew criminal charges against OCP officials and ordered the release of the fertilizers cargo that was held at Ballore Warehouse.
Some Kenyan news portals said the termination came after parties entered a plea bargaining agreement.
OCP stopped shipments to Kenya last summer and asked authorities for a re-testing of its fertilizers after it was accused of non-compliance with local regulatory standards.
OCP, which is currently producing customized fertilizers specific to the needs of different African soils from its chemical plants in Jorf Lasfar, is also planning large-scale investments in Africa.
In Ethiopia, the group already launched a plant that will be operational in the next two or four years. The plant required an investment of about $3 billion and is expected to export raw material for the production of fertilizers to the region.
OCP is also planning a fertilizer plant in Nigeria and probably in Ghana where feasibility studies are underway.
OCP is also gearing efforts to improve the process of agricultural productivity in Africa through helping farmers and establishing soil maps.