Yes, if you studied there after you turned 18, and were physically present in the country (i.e. not distance-education) then generally you will need a police certificate - it doesn't matter what your purpose was for being there. As long as you were there, cumulatively, for 6 months, at any point...