The European Court of Human Rights ruled on Tuesday that depriving prisoners of the right to vote is a breach of human rights.