def rot13_char_limits(char, lower, upper):
    """
    Return an encrypted character using the ROT13 cipher
    :param char: input char
    :param lower: lower bound
    :param upper: upper bound
    :return: the corresponding encrypted character
    """
    result = char
    ord_char = ord(char)
    if lower <= ord_char <= upper:
        if ord_char + 13 <= upper:
            result = chr(ord_char + 13)
        else:
            result = chr(ord_char - 13)
    return result