An epic clash was tainted by fan behaviour in Scotland.