public static function formatRole($role, $force = false)
    {
        if ($force || version_compare(Kernel::VERSION, '4.3', '<')) {
            $role = !$role instanceof Role ? new Role((string) $role) : $role;
        }

        return $role;
    }