Court orders German manufacturer to pay for unsafe flats block remediation