When does a threshold become a courtyard