Microscopic origins for stabilizing room-temperature ferromagnetism in ultrathin manganite layers