It's not that juniors are replaceable, but that hiring them is a high variance move. Few, if any, know whether a candidate is just memorizing leetcode and is going to be a dud, costing you effort before they get a PIP, or you are hiring a very talented individual that will be contributing in 2 weeks
.
With seniors, you risk less, just because the track record makes the very worst candidates unlikely.