The issue is a bit more nuanced than it seems. It's not that the company can just ignore your request: you have the right to ask for remote work arrangements, especially if you were doing it before your leave. What happens is that they're not legally obliged to grant it, but your request is legitimate and they should at least seriously consider it. If they refuse outright without discussion, you can ask them in writing what the concrete reasons are - and here's the thing that others might not stress enough: document everything via email.
What a lot of people don't say is that the refusal could be pretextual if there's an idea behind it to "punish" you for taking parental leave. If after you return you're suddenly forced to work in-office when there wasn't that requirement before, especially without solid technical reasons, it could amount to discrimination based on parenthood, and then the situation changes radically. It's not like you automatically win the case, but it's an element that protects your position.
In the meantime, you can make a pragmatic countermove: propose an intermediate solution with concrete data. Maybe "I'll try 2 days remote for a month and we'll see how it goes with projects" is harder to refuse than a vague request. If they stay closed off and don't give serious reasons, then it's worth getting advice from someone who knows labor contracts (a labor law firm, union if you're a member). It's not a war, but it's important not to let them push you around.