Court convicts apprentice mechanic over sex