In order to get permission for overstay, there has to be a major valid reason and prior permission needs to be taken from the government before the visa expiry.