Mr. Medvedev is due to visit Germany in early June on his first official trip to a European country .