As a pharmacist who has previously worked on an NNU, our hospital did have stock bags kept in case TPN was needed outside usual opening times.
They were ordered from a supplier, received into stock in pharmacy and kept in a fridge there. As the NNU used stock bags they were replaced, unless specifically told they were running low they would get these weekly. They kept maybe 4 starter bags and 4 maintenance bags. Generally the starter bags used were the stock bags, then bespoke for the baby was ordered after that.
Maintenance bags were only really used over bank holiday weekends due to aseptic unit being closed, or if there was a problem with the bag.
The bags were easily accessible in the NNU fridge by anyone. The fridge also was hardly ever locked, and often the locks on the hospital fridges are so poor they can be opened with the corner of someone's ID badge so there wouldn't even be a trail of who had the keys at any point.
Insulin vials would be kept in the same fridge, so would be relatively easy to inject a bag with insulin. You wouldn't know which baby would get the bag though.