You can expect there to be reputational damage for the court - no matter how it rules - because regardless which side you are on, you'll agree that there's a lot of dishonest propaganda from the other side. So if the court rules against your side clearly the court is beholden to those who spread the dishonest propaganda.*
Therefore you should expect a kind of muted ruling, either "what Israel is doing is no genocide but it should do more to limit civilian deaths nonetheless", or "Israel is at risk of committing a genocide so it must stop now or we will call it a genocide". So in your scenario of an adverse-to Israel ruling, I'm going to assume a scenario where Israel is ordered to let food into Gaza to stop the starvation, and it will be called out for being at risk of causing a genocide, but what it has done won't be explicitly called a genocide, yet.
There will be reputational damage to those political parties outside of Israel whose values are in line with human rights but who did oppose a ceasefire, like the Labour party in the UK, and The Democratic Party in the USA. Germany's public sentiment is harder to predict, because while such a ruling would cause decreased trust in the establishment, the most relevant anti-establishment force in Germany is the AfD on the far right. Germany's political influence in the EU would likely decline in the short term, because it's an easy target at that point.
The international response to Israel is almost impossible to predict because it makes a massive difference whether Netanyahu gets a war with Lebanon or not, and whether Biden actively joins military operations in such a war. If the military operation stays contained to Gaza, there's a possibility of continued opposition from Israel to letting in enough food and water to stop the starvation, which would then lead to the threat of sanctions by some nations, possibly even the EU.
*I'm not saying there isn't a clear and obvious right or wrong in this case, clear and obvious liars, and lies, and blatantly obvious truth, but that is off topic on this site. It's each individual's duty to find out what the truth is and not simply believe the first propagandist they run into.