The international criminal court

The international criminal court was said to have been founded by a supposed treaty called the Rome statute. One hundred and twenty three states are documented to have ratified the agreement which grants the icc juridstriction over four main areas according to legislation. Genocide, crimes against humanity, war crimes and crimes of aggression.
The crime of genocide is said to be an intent to destroy, in whole or in part a particular race or ethnic or religious group; imposing measures intended to restrict births within the group or removing children.
Crimes against humanity are said to describe widespread attacks against civillians. Forms of crimes against humanity are documented as murder, rape, imprisonment, supposedly without a trial; abduction or unknown end and torture. So why is Julian Assange in prison?
The icc is a u.n. affiliate. Detention centres are documented to be in the Hague. The court allows itself to freeze suspect’s assets.