The $17 billion deal between Rosneft and British oil and gas giant British Petroleum was consulted by the firm with the participation of an old Putin friend, Matthias Warnig.