Input (grade 7): It was in many ways integrated with, although legally not a part of, West Germany.
Output (grade 8): In many ways it was integrated (joined) with West Germany, but it was not a part of West Germany or East Germany.