Medvedev had called on Europeans to "punish" their "stupid" governments for opposing Moscow over its war in Ukraine.