This view was advanced by the Spanish theologian Bartolomé de Medina (1527-1581) and defended by many Jesuits such as Luis Molina (1528-1581).
The doctrine became particularly popular at the start of the 17th century, as it could be used to support almost any position or council any advice.