All municipal corporations may, for corporate purposes, hold real estate beyond their limits.