That’s unfortunate but that’s what you need to handle if you are an employer. You know the rules when you start a company and when you hire someone. There are some exceptions in place for smaller employees too.
Competition means that successful companies that survive are those that manage to cope with such terrifying things as employees going on parental leave.
I’m not sure how you ended up managing a company with several employees while seeming surprised by the labor laws in the countries where it operates?