Thanks for help and fast response!
The last picture is correct as the pin P05 gets pulled up to 5V and pin P04 is pulled down to the ground.
From ST10F275 datasheet (Bootstrap section):
Decoding of reset configuration (P0L.5 = 1, P0L.4 = 0) selects ST10 standard bootstrap
mode (Test-Flash is active and overlaps us
er Flash for code fetches from address
00'0000h; user Flash is active and available for read and program)