The loan-cum-currency swap would not have shown up in Greece 's debt statistics , which means it was effectively a way of bypassing the eurozone 's Maastricht criteria , which prescribe certain debt-to-GDP metrics for countries wishing to join the single currency zone .