This doesn't check whether an enrollment is active or not. Please use the class methods on `CourseEnrollment` whenever possible (like `is_enrolled` and `enrollment_mode_for_user`) or create a new one if necessary.