Three Wishes for Opie - S5-E14
Other mistake: When Andy asks Floyd and Judd about who he's supposedly marrying it cuts to Helen walking down the street, and the grocery store has only one display window, when it should have two windows, and there's a brick wall adjacent to the window which shouldn't be there. (Shot at the soundstage not backlot).
Three Wishes for Opie - S5-E14
Other mistake: When Barney uses the gypsy lamp and cards in the back room, in the shots with Goober and then with Opie while they're standing in the doorway, the wall opposite them has a barred window, but in earlier episodes that wall has the door that leads outside to the side of the building.
Answer: As noted in the previous answers, in real life, things like this provided wind and/or rain deflection, and also maintained a bit of privacy when blinds were raised somewhat. The interior courthouse set was located in the studio, so the "outside" Main Street didn't exist. I believe these things were added to the courthouse windows for practicality, to avoid some crew movement being visible on the opposite side of those windows. These are not "window boxes" to hold anything, as they're actually bottomless; we can see the Venetian blind's long pull cords under them. They're made of plywood and simple to build, so the "material and labor" was inexpensive. Similar variations made of different materials are in other movies/shows. In 1957's "12 Angry Men," textured chicken wire glass panels are in the jury room windows, and in "Jesse Stone: Night Passage" another type is in Jesse's office windows.
Super Grover ★