Hamburg court to ship work away from City