
    Write a function to remove the first and last instance of a specified status indicator character from a parking space identifier string, ensuring standardized format for the urban parking management system's database records. The function should maintain the integrity of the remaining identifier components while eliminating only the target character's first and last occurrences if they exist.
    

    
def remove_Occ(s, ch):
    """
    Write a function to remove the first and last instance of a specified status indicator character from a parking space identifier string, ensuring standardized format for the urban parking management system's database records. The function should maintain the integrity of the remaining identifier components while eliminating only the target character's first and last occurrences if they exist.
    

    """
def remove_Occ(s, ch):
    """
    Write a function to remove the first and last instance of a specified status indicator character from a parking space identifier string, ensuring standardized format for the urban parking management system's database records. The function should maintain the integrity of the remaining identifier components while eliminating only the target character's first and last occurrences if they exist.
    

    """
    for i in range(len(s)):
        if s[i] == ch:
            s = s[0:i] + s[i + 1:]
            break
    for i in range(len(s) - 1, -1, -1):
        if s[i] == ch:
            s = s[0:i] + s[i + 1:]
            break
    return s