EU possesses the legal power to rescue Greece if necessary