Text this: Selection of Compton-thick AGN from a hard photometric sample using XMM–Newton observations.