Three in court after EC girl freed