Social security of migrant workers - Unemployment - Fully unemployed frontier worker - Taking into account for pension purposes of periods of unemployment - Competent Member State - State in which worker was last employed before becoming unemployed . ( EEC Treaty Art . 51; Council Regulation No 1408/71, Art . 13 ( 2 ) ( a ) and Art . 71 ( 1 ) ( a ) ( ii ) )