To put it another way: the fact that you can greenspun Lisp in C doesn't mean C has all the power of Lisp. It means that Lisp has all the power of Lisp. Every even-mildly-useful language is Turing-complete; so, in order to be able to give a ranking to languages at all, we have to restrict our discussion of a language's merits to its merits if you aren't just using it as a glorified Turing machine for implementing a different language.
Without writing custom PHP, Drupal is less powerful than PHP. That's perfectly okay.