A priest who in confession, or on the occasion or under the pretext of confession, solicits a penitent to commit a sin against the sixth commandment of the Decalogue, is to be punished, according to the gravity of the offence, with suspension, prohibitions and deprivations; in the more serious cases he is to be dismissed from the clerical state.
Source: Code of Canon Law (Vatican.va)