Revocation of parental responsibility shall be ruled by a court against a person assuming parental responsibility when that person has been sentenced as perpetrator or accomplice in a criminal offence against the child, or as an accomplice with the child in the commission of a criminal offence.