On 14 July 2009, the International Court of Justice in the Hague upheld Costa Rica's navigation rights for commercial purposes to subsistence fishing on their side of the river. An 1858 treaty extended navigation rights to Costa Rica, but Nicaragua denied passenger travel and fishing were part of the deal; the court ruled Costa Ricans on the river were not required to have Nicaraguan tourist cards or visas as Nicaragua argued, but, in a nod to the Nicaraguans, ruled that Costa Rican boats and passengers must stop at the first and last Nicaraguan port along their route. They must also have an identity document or passport. Nicaragua can also impose timetables on Costa Rican traffic. Nicaragua may require Costa Rican boats to display the flag of Nicaragua, but may not charge them for departure clearance from its ports. These were all specific items of contention brought to the court in the 2005 filing.