Comments mark a shift in Berlin’s stance towards one of its key allies, of which it has long been a strong supporter.