I assumed the fine was to pay for the removal of the graffiti and replacement of any damaged property
That would be safe to assume. In which case, both students should have been find AND punished. Not one, or the other.
If that had been the case, I'd have no gripe.