Create an illusion of a Tarrasque, have it "attack you", and then kill it. Maybe the Evil Ruler won't bother looking into the cave and seeing the real one. Or if he does, cast dimensional anchor and wake the Tarrasque. Once it starts attacking him, join in on the fun.