The motivation to find and use a nest before laying an egg is one of the strongest behavioural drives in hens — so powerful that denying it causes measurable distress detectable in stress hormones and behaviour.
A hen denied a nest box who must lay on a wire floor is not simply inconvenienced — she is experiencing genuine distress driven by one of the strongest motivational systems in avian biology. Providing appropriate nest boxes at the right density so all hens can access them when needed is a minimum welfare requirement that cage systems fundamentally cannot meet.