Gerald Darmanin was promoted to the key role of interior minister despite an ongoing rape inquiry.