Bathgate was caught with 270 surreptitiously-taken images on his phone after a journey in Fife.