It says the German ship returned fire and then chased down the pirates with the help of other vessels in the European Union 's anti-piracy mission .