A Danish court has ordered the tabloid Ekstra Bladet to pay 300,000 kroner ($46,000) each in damages to two seamen who were taken hostage in Somalia.

Copenhagen's city court said Friday that Ekstra Bladet violated the privacy of Eddy Lopez and Soeren Lyngbjoern by reporting about them during their captivity.

They were taken hostage when pirates hijacked the ship MV Leopard off Somalia on Jan. 12, 2011. Lopez, of Chile, was the captain and Lyngbjoern, a Dane, was the first mate.

Four Filipino crewmembers — who didn't sue — were also captured. All were released 838 days later.

Ekstra Bladet chief editor Poul Madsen said the paper hadn't immediately decided whether to appeal.