Palácio da Bolsa in Porto is not, at all, a castle. It was built in the XIX century as the stock market and never served defensive purposes as castles would. Not to speak about the sheer amount of misses in Portugal. This is off by a lot!