Even a court does not expect a ebf baby to be given formula if that is against the Mother's wishes (as it would be seen as contradictory to the pro bf messages) until 12 months old.
They also have NO powers to insist that a mother expresses bm so that contact can take place, as NOT every mother can express.
(And this IS true. I expressed easily for DD, DS1 and DS2, but with DS3, I could express for an hour and only get half an ounce.)
What the courts DO advise for a bf baby under a year old is 'little and often'.
So contact WITH the Mother there, 2-3 times a week for 2-3 hours, usually in the Mother's home.
And I'm not talking out of my arse here - my Ex and I split up when DS3 was just 4mo, and it went to court as I was NOT going to start ff just because we had split up, when we had decided TOGETHER, BEFORE DS3 was even born, that I would bf for AT LEAST 6 months, if not a year.
(It's a bloody good job I stuck to that, too - it turns out that DS3 is anaphylactic to dairy, so ff would have LITERALLY killed him!)
Ex came to the house 2-3 times a week, for 2-3 hours at a time, after work. He did dinner, bath, story, bed.
He came round for 4-5 hours once a week, and dealt with everything bar feeds.
Once DS3 was around 8mo, he could take him out locally for about an hour.
Then once I stopped bf at 12mo, he gradually increased the time he took him out for.
DS3 has a better bond with his Dad than DS2 - and Ex was there the whole time with DS2!