this works even if they place you on a partner airline
in fact, since the fare class is usually much higher than the original ticket since united paid LH for example, for the seat, you'll come out better than originally
especially if united credits you as if you flew them and then LH credits you for the flight too.........