Use of an intermediate compound in the preparation of a compound of general formula (Ib) in which: R 1 represents wherein * indicates the point of attachment of said group with the rest of the molecule; R 2 represents hydrogen, halogen, -NR 7 R 8, CN, C 1 -C 6 -alkyl, C 1 -C 4 -alkoxy, 3- to 10-membered heterocycloalkoxy, C 2 -C 4 -alkenyl, C 3 -C 6 -cycloalkyl, 3- to 10-membered heterocycloalkyl, 4- to 10-membered heterocycloalkenyl, phenyl, heteroaryl, - NR 7 R 8, -(SO 2)R 9, - R 9, -SR 9, -N= R 9 R 10, - (OR 7) 2, - (OR 7)R 10, - (R 10) 2, wherein each C 1 -C 6 -alkyl, C 1 -C 4 -alkoxy, C 3 -C 6 -cycloalkyl, 3- to 10-membered heterocycloalkyl, phenyl or heteroaryl is optionally substituted, one or more times, independently from each other, with halogen, OH, amino, -NR 7 R 8, C 1 -C 4 -alkyl optionally substituted with hydroxyl or phenyl, C 1 -C 2 -haloalkyl, C 1 -C 3 -alkoxy, C 3 -C 6 -cycloalkyl, 3- to 6-membered heterocycloalkyl, phenyl, - OR 7, - NR 7 R 8, -NR 7 R 10, -NR 8 OR 7, -(SO 2)R 9, -SR 9, -NR 7 (SO 2)R 9, -( =NR 11)R 10, - (OR 7) 2, - (OR 7)R 10, or with a heteroaryl group; wherein each 4- to 10-membered heterocycloalkenyl is optionally substituted, one or more times, independently from each other, with methyl; R 4 represents hydrogen or methyl; R 7, R 8 represent, independently from each other, hydrogen, C 1 -C 6 -alkyl, C 3 -C 6 -cycloalkyl or phenyl, which phenyl is optionally substituted, one or more times, with halogen; R 9 represents C 1 -C 4 -alkyl or phenyl, wherein each C 1 -C 4 -alkyl or phenyl is optionally substituted, one or more times, independently from each other, with R 13; R 10 represents C 1 -C 4 -alkyl; or R 9 and R 10 together, in case of -N= R 9 R 10 group, represent a 5- to 8-membered heterocycloalkyl group; R 11 represents hydrogen, C 1 -C 4 -alkyl, - OR 7, - NR 7 R 8 or CN; R 13 represents halogen, OH or C 1 -C 6 -alkoxy, wherein the intermediate compound is selected from the group consisting of: and in which R 1 and R 4 are as defined for the compound of general formula (Ib); R 3 represents hydrogen; X represents chloro, bromo or iodo; and Y represents OH, -O-SO 2 -CF 3, Cl, Br, I, SH or -SO 2 Cl. R 1 represents wherein * indicates the point of attachment of said group with the rest of the molecule; R 2 represents hydrogen, halogen, -NR 7 R 8, CN, C 1 -C 6 -alkyl, C 1 -C 4 -alkoxy, 3- to 10-membered heterocycloalkoxy, C 2 -C 4 -alkenyl, C 3 -C 6 -cycloalkyl, 3- to 10-membered heterocycloalkyl, 4- to 10-membered heterocycloalkenyl, phenyl, heteroaryl, - NR 7 R 8, -(SO 2)R 9, - R 9, -SR 9, -N= R 9 R 10, - (OR 7) 2, - (OR 7)R 10, - (R 10) 2, wherein each C 1 -C 6 -alkyl, C 1 -C 4 -alkoxy, C 3 -C 6 -cycloalkyl, 3- to 10-membered heterocycloalkyl, phenyl or heteroaryl is optionally substituted, one or more times, independently from each other, with halogen, OH, amino, -NR 7 R 8, C 1 -C 4 -alkyl optionally substituted with hydroxyl or phenyl, C 1 -C 2 -haloalkyl, C 1 -C 3 -alkoxy, C 3 -C 6 -cycloalkyl, 3- to 6-membered heterocycloalkyl, phenyl, - OR 7, - NR 7 R 8, -NR 7 R 10, -NR 8 OR 7, -(SO 2)R 9, -SR 9, -NR 7 (SO 2)R 9, -( =NR 11)R 10, - (OR 7) 2, - (OR 7)R 10, or with a heteroaryl group; wherein each 4- to 10-membered heterocycloalkenyl is optionally substituted, one or more times, independently from each other, with methyl; wherein each C 1 -C 6 -alkyl, C 1 -C 4 -alkoxy, C 3 -C 6 -cycloalkyl, 3- to 10-membered heterocycloalkyl, phenyl or heteroaryl is optionally substituted, one or more times, independently from each other, with halogen, OH, amino, -NR 7 R 8, C 1 -C 4 -alkyl optionally substituted with hydroxyl or phenyl, C 1 -C 2 -haloalkyl, C 1 -C 3 -alkoxy, C 3 -C 6 -cycloalkyl, 3- to 6-membered heterocycloalkyl, phenyl, - OR 7, - NR 7 R 8, -NR 7 R 10, -NR 8 OR 7, -(SO 2)R 9, -SR 9, -NR 7 (SO 2)R 9, -( =NR 11)R 10, - (OR 7) 2, - (OR 7)R 10, or with a heteroaryl group; halogen, OH, amino, -NR 7 R 8, C 1 -C 4 -alkyl optionally substituted with hydroxyl or phenyl, C 1 -C 2 -haloalkyl, C 1 -C 3 -alkoxy, C 3 -C 6 -cycloalkyl, 3- to 6-membered heterocycloalkyl, phenyl, - OR 7, - NR 7 R 8, -NR 7 R 10, -NR 8 OR 7, -(SO 2)R 9, -SR 9, -NR 7 (SO 2)R 9, -( =NR 11)R 10, - (OR 7) 2, - (OR 7)R 10, or with a heteroaryl group; wherein each 4- to 10-membered heterocycloalkenyl is optionally substituted, one or more times, independently from each other, with methyl; R 4 represents hydrogen or methyl; R 7, R 8 represent, independently from each other, hydrogen, C 1 -C 6 -alkyl, C 3 -C 6 -cycloalkyl or phenyl, which phenyl is optionally substituted, one or more times, with halogen; R 9 represents C 1 -C 4 -alkyl or phenyl, wherein each C 1 -C 4 -alkyl or phenyl is optionally substituted, one or more times, independently from each other, with R 13; R 10 represents C 1 -C 4 -alkyl; or R 9 and R 10 together, in case of -N= R 9 R 10 group, represent a 5- to 8-membered heterocycloalkyl group; R 11 represents hydrogen, C 1 -C 4 -alkyl, - OR 7, - NR 7 R 8 or CN; R 13 represents halogen, OH or C 1 -C 6 -alkoxy, R 1 and R 4 are as defined for the compound of general formula (Ib); R 3 represents hydrogen; X represents chloro, bromo or iodo; and Y represents OH, -O-SO 2 -CF 3, Cl, Br, I, SH or -SO 2 Cl.