Malta is essentially selling EU-wide* permanent residency permits and is making mad money out of it. Greece is in dire need of money, and is also entitled to the issuing of EU-wide permanent residency permits, so it makes sense for Greece to follow suit.
* Technically speaking, Schengen-Area-wide.