When Spike asked Twilight to help him create The Noble Dragon Code, he hoped a lot of things would happen.
Getting worshipped as a god by legions of theologically-inclined dragons wasn't really one of them but, hey, whattcha gonna do? Them's the breaks, kiddo.