This ObtrusiveBishop.cql finds starting positions where an obtrusive bishop is on the board.

This is a Bishop created by promotion.

CQL 5.1
; A darksquared white bishop is not on c1 although there are white pawns on d2 and b2 ; mutatis mutandis for other colors, square colors cql(input heijden.pgn) initial flipcolor flipvertical {Pd2 Pb2 B on darksquares on not c1}

CQL 3.2
; Finding starting positions with a bishop which is surely born by promotion
; This will be for a dark-colored white bishop when there are pawns at b2 and d2 and this is a bishop is not at c1 (and a1)
(match
:pgn heijden.pgn
:output ObtrusiveBishop.pgn

(position
:initial
:markall
:flipcolor
:or
((position Pb2 Pd2
:piececount
B[a3,a5,a7,b4,b6,b8,c3,c5,c7,d4,d6,d8,e1,e3,e5,e7,f2,f4,f6,f8,g1,g3,g5,g7,h2,h4,h6,h8] 1 6) ; White Bishop on dark squares
(position Pe2 Pg2
:piececount
B[a2,a4,a6,a8,b1,b3,b5,b7,c2,c4,c6,c8,d1,d3,d5,d7,e4,e6,e8,f3,f5,f7,g4,g6,g8,h3,h5,h7] 1 6) ; White Bishop on white squares
)
)
)
This cql finds 171 positions in the Harold van der Heijden database V 2015.

With this CQL there are 7 positions found which are not legal, (There are 8 pawns and a new bishop?):

The first 7 studies have illegal startpositions, check them out yourself.

 

-------------------------------------------------------------------------------------

The following studies are legal: