If you are wondering why the RCD trips when you accidentally touch the neutral and earth together even though the circuit breaker is off, here is a neat video to explain why.
Basically, the other circuits will still be live and when the neutral and earth conductors are touched, it gives the current returning on the neutral an alternative path meaning that slightly less current will return through the neutral causing an imbalance, hence tripping the RCD.
Long winded