Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_40513 ( "Date" real, "Doubles, I Class" real, "Doubles, II Class" real, "Greater Doubles" real, "Doubles" real, "Semidoubles" real, "Total" real )

### Question ###
What is the lowest Greater Doubles, when Doubles, I Class is 23, and when Doubles, II Class is less than 27?

### Accurate SQL ###

SELECT MIN("Greater Doubles") FROM table_40513 WHERE "Doubles, I Class" = '23' AND "Doubles, II Class" < '27'