El Escorial is a monastery , a royal palace , a museum and a school .
El Escorial was , at once , a monastery and a Spanish royal palace .