An automatic barrier to enter the courtyard of the building serves as a guard for parking spaces for cars.