Agreement reached on European framework for seaports