Germany warned Obama ‘not coming just to be friendly’