A system for controlling access to at least one nest of a production line, said nest comprising an inside space delimited by a barrier, a parts collection area and a vehicle access area, the production line comprising safety means configured to send signals of an incident when an incident is detected on the production line, the system comprising: - access request means (2a - 3a; 2b - 3b; 2c - 3c; 3d; 3e), configured to send an access request signal to the nest when an automated guided vehicle intending to stock the nest with assembly parts reaches a predetermined distance (d) from the vehicle access area, said automated guided vehicle being provided with an autonomous safety system configured to prevent the vehicle from moving when it detects the proximity of an obstacle; and being characterized in that it comprises: - occupation detection means (4a, 4b), configured to detect whether the space inside the nest is occupied, and to emit an inoccupation signal in the case that the space inside the nest is not occupied, and to emit an occupation signal in the case that the space inside the nest is occupied; - connection means (7a, 7b) configured so that once an inoccupation signal is received from the occupation detection means (4a, 4b), the automated guided vehicle be connected to the safety means of the production line and configured to stop the automated guided vehicle in case of receiving a signal of an incident from the safety means of the production line; and - means for opening and closing the parts collection area, connected to the connection means (7a, 7b) and configured to close the parts collection area before the vehicle enters the space inside the nest and to open the parts collection area when the vehicle has completed its access into the space inside the nest. - access request means (2a - 3a; 2b - 3b; 2c - 3c; 3d; 3e), configured to send an access request signal to the nest when an automated guided vehicle intending to stock the nest with assembly parts reaches a predetermined distance (d) from the vehicle access area, said automated guided vehicle being provided with an autonomous safety system configured to prevent the vehicle from moving when it detects the proximity of an obstacle; - occupation detection means (4a, 4b), configured to detect whether the space inside the nest is occupied, and to emit an inoccupation signal in the case that the space inside the nest is not occupied, and to emit an occupation signal in the case that the space inside the nest is occupied; - connection means (7a, 7b) configured so that once an inoccupation signal is received from the occupation detection means (4a, 4b), the automated guided vehicle be connected to the safety means of the production line and configured to stop the automated guided vehicle in case of receiving a signal of an incident from the safety means of the production line; and - means for opening and closing the parts collection area, connected to the connection means (7a, 7b) and configured to close the parts collection area before the vehicle enters the space inside the nest and to open the parts collection area when the vehicle has completed its access into the space inside the nest.