Desperate to abide by the wording if not the spirit of the constitution , the ex-KGB spy shoehorned Mr Medvedev , his meekly loyal protege , into the Kremlin , a decision rubberstamped by the Russian people in an election that European observers were prevented from monitoring .