Satan did have dominion over the earth, so his was a legitimate offer. It turns out that Jesus reclaimed dominion over the earth through His victory over sin and death.