If you are talking about the International Court of Justice, this pre-dates the EU.
"The International Court of Justice(ICJ) is funded by the United Nations."
So it's a waste of UNO money, rather than EU money.
Why are you calling it "La" Hague?
(Ah is that what they call it in Spain? .... ok then
).