Church with octagonal floor plan, with an exceptionally valuable Baroque organ and the remains of fortifications