If he does give asylum Turkey will flood Greece with migrants.
If he doesn't he acts against international law.
But he does the right thing at the moment. They will be prosecuted to the maximum sentence on which they can get a conditional release, but they are not allowed to leave the country.
Erdogan will be steaming in rage but can do nothing.