This paper introduces a novel hierarchical architecture aimed at enhancing coordination between distribution system operators and electric vehicle aggregators in order to minimize Electric Vehicle (EV) charging costs for users while optimizing EV hosting capacity to alleviate network congestion. Real-world distribution networks are employed to evaluate EV charging strategies and their impact on medium and low-voltage networks. Two distinct EV charging optimization strategies are proposed to ensure fair power allocation among EV Aggregators (EVAs), alleviating congestion while managing EV charging power efficiently. Results demonstrate that the proposed collaborative EV charging effectively flattens the load curve, reducing peak power and avoiding grid congestion. The main findings underscore the importance of incentivizing EV flexibility to support Distribution System Operator (DSO) objectives beyond static tariffs. Furthermore, a battery degradation model is introduced into the optimization problem, reducing high currents and capacity decay. Despite capturing a higher mean electricity price, the total cost of EV charging is reduced.