Forum:Agent of Mystery Earth vs Compulsory Evacuation Device

So, im wondering if i normal summon earth, and they use compulsory evacuation device to return it to my hand, do i still get to use earths effect because it activates when its summoned, and compulsory doesn't negate the summon? Same thing with book of moon. Thx