That is only 3 parts of the puzzle.
Domestic sectors taxed in Portugal
International ones taxed in Ireland
Social security payments in Portugal
Basic pay taxed in = ??????? It should be in Portugal
Or are you not on a proper PAYE contract and employed on one of there magical limited company deals where you are a director.
Issue there is your not a company. Ryanair make you start one. They choose your agency and they choose your accountant and they pick the other guys in your company to join you as a director.
Then you employ yourself but don't pay employer social security payments as there a fortune and you would then earn nothing. So you don't fit that employment model properly either.
I hope it's answer A and your PAYE in Portugal and paying tax there as that's how it should be done.