An intruder has been charged after allegedly climbing into the grounds of Kensington Palace twice just days before Christmas.