If it's between a course you love and the reputation of the university, pick the course you love. Glasgow is still a respected university, and there's no point doing something you hate in the vague off-chance it helps your career prospects further down the line.