He wanted to read his social services files, which were kept by Liverpool City Council. Graham Gaskin went through the courts in the UK to try and force the Council to let him see his files, but the courts agreed with the Council.
The UK Court of Appeal agreed and said that the new law was in direct conflict with human rights law. Two children and an adult got help from lawyers to complain about the police.
They had been stopped and searched by the police while at a protest in Kent about protecting the environment.
The judgment said the UK Government should make changes to protect the rights of other children and young people appearing in court in future.
A lot of changes were made, though many human rights organisations and campaigners are still concerned about how children who commit crimes in the UK are treated.